remove method

  1. @override
void remove(
  1. dynamic value, {
  2. bool notify = true,
})
override

Removes a single item from the list.

This method accepts an int as an index, an String as an id, and an ItemSerializable as the item to remove.

Implementation

@override
void remove(value, {bool notify = true}) {
  super.remove(value);
  if (notify) notifyListeners();
}