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