Event<T> class
Represents a typed event.
A function that represents an event to which you subscribe by calling it with a listener function as argument.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
- Event()
-
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
-
call(
dynamic listener(T), [dynamic thisArgs, List< Disposable> ? disposables]) → Disposable -
Available on Event<
T> , provided by the Event$Typings extension -
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