get method

  1. @override
Future<Model> get(
  1. String id
)
override

Returns the entry with the specified id.

Implementation

@override
Future<Model> get(String id) async {
  _checkInitializationStatus();
  return _models.firstWhere((element) => element.id == id);
}