update method

  1. @override
Future<MemberActionModel> update(
  1. MemberActionModel value
)
override

Implementation

@override
Future<MemberActionModel> update(MemberActionModel value) {
  int index = _index(value.documentID);
  if (index >= 0) {
    items.replaceRange(index, index + 1, [value]);
    trigger(items);
  }
  return Future.value(value);
}