notify method

void notify()

Forces a notification even when the value is unchanged (e.g. after an in-place mutation of a collection held by reference).

Implementation

void notify() {
  if (!_controller.isClosed) _controller.add(_value);
}