write method

void write(
  1. T value, {
  2. bool forceUpdate = false,
})

Implementation

void write(T value, {bool forceUpdate = false}) {
  if (forceUpdate || _value != value) {
    _value = value;
    _unit.notify();

    for (var n in _dependencies) {
      n._signalUpdate();
    }
  }
}