Subscribe<T> class

Subscribes the method that this is annotated with to the event type of the first parameter. See EventDispatcher.registerHandlers.

Constructors

Subscribe({int priority, EventFilter<T> filter, EventFilter<T> when, bool always = false})
const

Properties

always bool
final
filter EventFilter<T>
final
hashCode int
The hash code for this object. [...]
read-only, inherited
priority int
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
when EventFilter<T>
final

Methods

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

Operators

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