remove method

T? remove(
  1. E key, {
  2. bool doNotifyListeners = true,
})

Removes key from _value.

Implementation

T? remove(
  E key, {
  bool doNotifyListeners = true,
}) {
  final removed = _value.remove(key);
  if (doNotifyListeners) {
    notifyListeners();
  }
  return removed;
}