Family<@Deprecated('The generic parameter will be removed in version 3.0.0. ' 'This is to enable riverpod_generator to implement families with generic parameters') State> class
abstract
A base class for all families
- Implemented types
- Implementers
- AsyncNotifierProviderFamily
- AutoDisposeAsyncNotifierProviderFamily
- AutoDisposeFutureProviderFamily
- AutoDisposeNotifierProviderFamily
- AutoDisposeProviderFamily
- AutoDisposeStateNotifierProviderFamily
- AutoDisposeStateProviderFamily
- AutoDisposeStreamNotifierProviderFamily
- AutoDisposeStreamProviderFamily
- FutureProviderFamily
- NotifierProviderFamily
- ProviderFamily
- StateNotifierProviderFamily
- StateProviderFamily
- StreamNotifierProviderFamily
- StreamProviderFamily
Constructors
- Family()
-
A base class for all families
const
Properties
-
allTransitiveDependencies
→ Iterable<
ProviderOrFamily> ? -
All the dependencies of a provider and their dependencies too.
finalinherited
-
dependencies
→ Iterable<
ProviderOrFamily> ? -
The list of providers that this provider potentially depends on.
finalinherited
-
from
→ Family<
Object?> ? -
The family that this provider/family depends on.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
A custom label for providers.
finalinherited
-
overriddenFamily
→ Family<
State> -
The family that was overridden.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getProviderOverride(
ProviderBase< State> provider) → ProviderBase<State> -
Obtains the new behavior for a provider associated to the overridden family.
inherited
-
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