ProviderException class Null safety
Encapulates an exception thrown while building a provider.
This exception can be thrown if a provider fails to return a valid value:
final example = Provider((ref) => throw Error());
in which case, any attempt at listening to
example with result in a ProviderException.
- Implemented types
- exception → Object
The exception thrown while building the provider
- hashCode → int
The hash code for this object. [...]
- provider → ProviderBase
The provider that threw this exception.
- runtimeType → Type
A representation of the runtime type of the object.
- stackTrace → StackTrace
The StackTrace associated with exception.