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