ProviderOrFamily class abstract

A common interface shared by ProviderBase and Family

Implemented types
Annotations
  • @sealed

Constructors

ProviderOrFamily({required String? name, required Iterable<ProviderOrFamily>? dependencies, required Iterable<ProviderOrFamily>? allTransitiveDependencies})
A common interface shared by ProviderBase and Family
const

Properties

allTransitiveDependencies Iterable<ProviderOrFamily>?
All the dependencies of a provider and their dependencies too.
final
dependencies Iterable<ProviderOrFamily>?
The list of providers that this provider potentially depends on.
final
from Family<Object?>?
The family that this provider/family depends on.
no setter
hashCode int
The hash code for this object.
no setterinherited
name String?
A custom label for providers.
final
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