SyncEventBus<State extends StateBase> class

Inheritance
Mixed in types
Implementers

Constructors

SyncEventBus({required State state, List<Plugin<State>> plugins = const []})

Properties

hashCode int
The hash code for this object.
no setterinherited
isClosed bool
no setter
plugins Iterable<Plugin<State>>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state → State
no setteroverride
stream Stream<State>
no setter

Methods

after<Event extends EventBase>(EventHandler<AfterEvent<Event, State>, State> handler, {HandlerPriority priority = HandlerPriority.medium}) Disposable
override
attachPlugin(Plugin<State> plugin) → void
inherited
close() Future<void>
override
detachPlugin(Plugin<State> plugin) → void
inherited
invoke<Event extends EventBase>(Event event) InvokeResult<State>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on<Event extends EventBase>(EventHandler<Event, State> handler, {HandlerPriority priority = HandlerPriority.medium}) Disposable
override
onAfterInvoke<Event extends EventBase>(Event event, State previous) → void
override
onCreate() → void
inherited
toString() String
A string representation of this object.
inherited
update(State state) → void
override

Operators

operator ==(Object other) bool
The equality operator.
inherited