EventBusImpl class abstract

EventBus implementation

Constructors

EventBusImpl.new()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

addEventListener(String type, EventListener listener) → dynamic
Add an EventListener on event with given type.
dispatchEvent(String type, [Object? payload]) → dynamic
Dispatch event on given type with payload.
removeEventListener(String type, [EventListener? listener]) → dynamic
Remove the listener on event with given type. If listener is not specified, all listeners on event with given type will be removed.