remove method

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

Removes a single item from the list.

This method accepts a String as a value or an ItemSerializable, where its id is going to be used.

Implementation

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