clear method

void clear({
  1. bool doNotifyListeners = true,
})

Clears _value of any values.

Implementation

void clear({
  bool doNotifyListeners = true,
}) {
  _value.clear();
  if (doNotifyListeners) {
    notifyListeners();
  }
}