initLocalStorage function
Initialize the LocalStorage.
Implementation
Future<void> initLocalStorage() async {
if (_initialized) return;
_localStorage = await init();
_initialized = true;
}
Initialize the LocalStorage.
Future<void> initLocalStorage() async {
if (_initialized) return;
_localStorage = await init();
_initialized = true;
}