F4 class
A class container of all static Future method helpers.
Constructors
- F4()
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
-
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
Static Methods
-
all(
Iterable< Function> fns, {AbortSignal? abortSignal, int? concurrency, bool? cancelOnError}) → Future - Conccurently iterate futures (output list is ordered).
-
chain(
Iterable< Function> fns, {AbortSignal? abortSignal, bool? cancelOnError}) → Future - Iterate a list of Futures while passing through results.
-
create(
Function fn) → Future - Create a Future from scratch.
-
forEach(
Iterable< Function> fns, {AbortSignal? abortSignal, bool? cancelOnError}) → Future - Iterate through a list of Futures one by one.
-
map(
Iterable< Object> args, Function f, {AbortSignal? abortSignal, int? concurrency, bool? cancelOnError}) → Future - Conccurently generate & iterate futures (output list is ordered).
-
one(
Function fn, {AbortSignal? abortSignal}) → Future - Run a single Future.
-
props(
Map< Object, dynamic> m, {AbortSignal? abortSignal, int? concurrency, bool? cancelOnError}) → Future - Conccurently iterate futures from Map properties (output Map is ordered).
-
reflect(
FutureOr f, [Map< Object, dynamic> ? m]) → Future<ReflectedFuture> - Reflect a Future so that it always completes.