HakoProviderNotFoundException<H extends BaseHako> class
Exception thrown when a HakoProvider of a specific type is not found in the widget tree.
This exception is thrown by methods that interact with Hako instances, when they cannot locate a HakoProvider of the required type in the widget tree above the current widget.
- Implemented types
Constructors
- HakoProviderNotFoundException(Type widgetType)
-
Creates a new HakoProviderNotFoundException.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- widgetType → Type
-
The type of widget that attempted to access the Hako provider.
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