FWEventBus class

Dispatches events to all listeners.

Constructors

FWEventBus.getInstance()
Get global single instance of FWEventBus class.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fire(FWEvent event) → void
Fires an event.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on() Stream<FWEvent>
Listens for events.
toString() String
A string representation of this object.
inherited

Operators

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