ProviderOverride<N extends BaseNotifier<T>, T> class

Instructs Refena to set a predefined state for a provider.

Constructors

ProviderOverride({required BaseProvider<N, T> provider, required FutureOr<N> createState(ProxyRef ref)})

Properties

createState FutureOr<N> Function(ProxyRef ref)
The state of the provider.
final
hashCode int
The hash code for this object.
no setterinherited
provider → BaseProvider<N, T>
The reference to the provider.
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