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