delete method

  1. @override
Future<void> delete(
  1. AssignmentResultModel value
)
override

Implementation

@override
Future<void> delete(AssignmentResultModel value) {
  int index = _index(value.documentID);
  if (index >= 0) items.removeAt(index);
  trigger(items);
  return Future.value();
}