call method

void call(
  1. T value, {
  2. bool notifyChange = true,
  3. bool setAsOriginal = false,
})

Updates the underlying value for this ActiveType.

If notifyChange is true, a UI update will be triggered after the change occurs. Otherwise, only the value will be set.

If setAsOriginal is true, updating the value will also set the originalValue to the current value. See also setOriginalValueToCurrent and reset

Implementation

void call(T value, {bool notifyChange = true, bool setAsOriginal = false}) {
  set(value, notifyChange: notifyChange, setAsOriginal: setAsOriginal);
}