StorageNotFound constructor
const
StorageNotFound()
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());
}
Implementation
const StorageNotFound();