StoreProviderError class

If the StoreProvider.of method fails, this error will be thrown.

Often, when the of method fails, it is difficult to understand why since there can be multiple causes. This error explains those causes so the user can understand and fix the issue.


StoreProviderError(Type type)
Creates a StoreProviderError


type ↔ Type
The type of the class the user tried to retrieve
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
stackTrace → StackTrace
read-only, inherited


toString() → String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.


operator ==(dynamic other) → bool
The equality operator.