getModel method

Future<T?> getModel(
  1. String modelId
)

Implementation

Future<T?> getModel(String modelId) async {
  dynamic model = _all[modelId];

  if (model == null) {
    return await onModelNotFound(modelId);
  }

  return _all[modelId];
}