get method
Implementation
@override
Future<SectionModel> get(String? id, {Function(Exception)? onError}) {
int index = _index(id!);
var completer = Completer<SectionModel>();
completer.complete(items[index]);
return completer.future;
}
@override
Future<SectionModel> get(String? id, {Function(Exception)? onError}) {
int index = _index(id!);
var completer = Completer<SectionModel>();
completer.complete(items[index]);
return completer.future;
}