CallbackUtil1Arg<T> class
Generic strongly-typed callback chaining utilities for callbacks with one argument.
- Inheritance
-
- Object
- CallbackUtil
- CallbackUtil1Arg
Constructors
- CallbackUtil1Arg()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
noop
→ Callback1Arg<
T> -
A callback that does nothing.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
chain(
covariant Callback1Arg< T> ? a, covariant Callback1Arg<T> ? b) → Callback1Arg<T> -
Returns a strongly-typed chained callback that calls through to the two provided callbacks,
a
andb
, in order. Useful for executing multiple callbacks where only a single callback is accepted.override -
chainFromList(
covariant List< Callback1Arg< callbacks) → Callback1Arg<T> ?>T> -
Returns a strongly-typed chained callback that calls through to the list of provided
callbacks
in order. Useful for executing multiple callbacks where only a single callback is accepted.override -
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