CallbackUtil<_> class
abstract
Base class for generic strongly-typed callback chaining utilities.
Constructors
- CallbackUtil()
-
const
Properties
Methods
-
chain(
covariant Function? a, covariant Function? b) → Function -
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. -
chainFromList(
covariant List< Function?> callbacks) → Function -
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. -
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