delete method

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

Implementation

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