getModel method

Future<FirebaseCustomModel> getModel(
  1. String modelName,
  2. FirebaseModelDownloadType downloadType, [
  3. FirebaseModelDownloadConditions? conditions
])

Gets the downloaded model file based on download type and conditions.

Implementation

Future<FirebaseCustomModel> getModel(
  String modelName,
  FirebaseModelDownloadType downloadType, [
  FirebaseModelDownloadConditions? conditions,
]) {
  return delegate.getModel(
    modelName,
    downloadType,
    conditions ?? FirebaseModelDownloadConditions(),
  );
}