delete method

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

Implementation

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