Dispatcher class

Dispatcher interface.

IMPLEMENT this class to create an interface for a DispatcherImpl. This class should NOT be extended as it contains a factory constructor.

See DispatcherImpl for more information.

Implemented types
Implementers

Constructors

Dispatcher()
factory

Properties

actionObservable Observable<Action>
{@template action_observable} The Observable that carries the dispatched Actions. {@endtemplate}
read-only, inherited
closed bool
{@template dispatcher_closed_getter} Check if this BaseDispatcher is closed. [...]
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addBloc(Bloc bloc) → void
Registers bloc with this Dispatcher. [...]
removeBloc(Bloc bloc) → void
Removes bloc from this Dispatcher. [...]
removeBlocWithKey(String key) → void
Removes the Bloc with Bloc.key key. [...]
addInputObservable(String key, Observable<Action> observable) → void
{@template add_input_observable} Start dispatching all Actions from observable. [...]
inherited
dispatch(Action action) → void
{@template dispatch} Dispatch action to all observers of actionObservable. {@endtemplate} [...]
inherited
dispose() → void
{@template dispatcher_dispose} Perfrom any cleanup operations required. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
removeInputObservable(String key) → void
{@template remove_input_observable} Stop dispatching Actions from the Observable added with key. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited