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