AsyncFnFactory<T extends Object> class
A CobaltAsyncFactory built from a function.
Constructors
-
AsyncFnFactory(Future<
T> build(CobaltResolver resolver)) -
Creates a factory that calls
build.const
Properties
Methods
-
create(
CobaltResolver resolver) → Future< T> -
Builds a new
T, resolving its dependencies fromresolver. -
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