addListener method
Register a closure to be called when the object notifies its listeners.
Implementation
@override
Disposer addListener(JuneStateUpdate listener) {
assert(_debugAssertNotDisposed());
_updaters!.add(listener);
return () => _updaters!.remove(listener);
}