set method

void set(
  1. T newValue, {
  2. bool notifyImmediately = true,
})

Sets the value of the Pod to newValue and calls notifyListeners if the value is different from the current value.

Implementation

void set(T newValue, {bool notifyImmediately = true}) {
  _set(newValue, notifyImmediately: notifyImmediately);
}