ProviderNullException class final
A provider of a nullable type gave null where a non-nullable one was
asked for: Provider<int?> read as an int.
- Implemented types
Constructors
- ProviderNullException(Type valueType, Type widgetType)
-
A
widgetTypeasked for avalueTypeand got null.
Properties
- 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 asked for.
final
- widgetType → Type
-
The type of the widget whose context asked for it.
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