EventBus class

Constructors

EventBus.new()
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

broadcast<T extends Event>(T event) → void
follow<T extends Event>(OnEvent<T> callback) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
unfollowCallback<T extends Event>(OnEvent<T> callback) → void
unfollowEvent<T extends Event>() → void

Operators

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