provideModel

abstract fun provideModel(modelIdentifier: String): Model

Provides a model instance based on the given identifier. If the model corresponding to the identifier is available, this method returns the instance of the model.

Return

the model instance corresponding to the provided identifier

Parameters

modelIdentifier

the identifier of the model to retrieve