FutureProviderFamily<T, A> class
A class that allows building a FutureProvider from an external parameter.
- Inheritance
-
- Object
- Family<
Future< T> , AsyncValue<T> , A, ProviderReference, FutureProvider<T> > - FutureProviderFamily
- Annotations
-
- @sealed
Constructors
-
FutureProviderFamily(Future<
T> create(ProviderReference ref, A a), {String? name}) - A class that allows building a FutureProvider from an external parameter.
Properties
-
builder
→ Future<
T> Function(ProviderReference ref, A param) -
Implementation detail. Do not use.
finalinherited
-
debugKeys
→ List<
A> ? -
A debug-only list of all the parameters passed to this family.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
Implementation detail. Do not use.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
A value) → FutureProvider< T> -
Create a provider from an external value.
inherited
-
create(
A value, Future< T> builder(ProviderReference ref, A param), String? name) → FutureProvider<T> -
Creates the provider for a given parameter.
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