ListenerDelegate<T> class
Helper class used in MultiListener to create Listeners of specified types.
- Mixed in types
-
- Listener<
T>
- Listener<
Constructors
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
-
cancel(
) → void -
Stops receiving messages.
inherited
-
listen(
) → void -
Starts message receiving.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onInitialMessage(
T message) → void -
Called when registering Listener if a message of type
Message
was sent earlier by Sender.override -
onMessage(
T message) → void -
Called every time a new
message
is received.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited