Implementation of Notifier.
Uses Stream as primary way to communicate broadcasts.
Callbacks are wrapped inside a StreamBuilder which is returned from
method of a StatefulWidget. Whenever notify is called, the stream
is notified for changes, so all the StreamBuilder's connected to that stream
are rebuilt thus fetching new data.
Every operation is added to a queue of work using Lock from 'synchronized' package.
- Implemented types
) → void
Dispose any resources that are open.
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
T>( String action, T data) → void
dataas broadcasts to listeners registered with
T>( String action, Widget callback(NotifierData< T>)) → Widget
Register a new callback on
) → String
Returns a string representation of this object.