remove method

bool remove(
  1. T value, {
  2. bool doNotifyListeners = true,
})

Removes a value from the list.

Implementation

bool remove(
  T value, {
  bool doNotifyListeners = true,
}) {
  final result = _value.remove(value);
  if (doNotifyListeners) {
    notifyListeners();
  }
  return result;
}