Interface for handling callbacks
T is the type of callback function to be handled
- Implementers
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
-
invoke(
CallbackInputType input) → void - Invoke a registered callback
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
CallbackWithReturn< CallbackInputType, CallbackReturnType> callback) → void - Register a callback
-
toString(
) → String -
A string representation of this object.
inherited
-
unregister(
CallbackWithReturn< CallbackInputType, CallbackReturnType> callback) → void - Unregister a callback
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited