delete method

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

Implementation

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