get method

  1. @override
Future<MemberActionModel> get(
  1. String? id, {
  2. dynamic onError(
    1. Exception
    )?,
})
override

Implementation

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