ProviderReference class

Constructors

ProviderReference({dynamic arguments, required void providerDisposeCallback()})

Properties

arguments → dynamic
store arguements
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
call this to force dispose the current provider
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDispose(void cb()) → void
called when the notifier linked to this reference is destroyed
read<T extends BaseNotifier>(BaseProvider<T> provider) → T
this method could be used to read a Notifier using the current provider
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited