ProviderNullException class

Called Provider.of<T> instead of Provider.of<T?> but the provider returned null.

Implemented types

Constructors

ProviderNullException(Type valueType, Type componentType)
Create a ProviderNullException error with the type represented as a String.

Properties

componentType Type
The type of the Component requesting the value
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
valueType Type
The type of the value being retrieved
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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