StorageNotFound class
Exception thrown if there was no HydratedStorage specified. This is most likely due to forgetting to setup the HydratedStorage:
void main() async {
WidgetsFlutterBinding.ensureInitialized();
HydratedCubit.storage = await HydratedStorage.build();
runApp(MyApp());
}
- Implemented types
Constructors
- StorageNotFound()
-
Exception thrown if there was no HydratedStorage specified.
This is most likely due to forgetting to setup the HydratedStorage:
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
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