initStorageGlobal static method

Future<void> initStorageGlobal()

Implementation

static Future<void> initStorageGlobal() async {
  if (_isStorageInitialized) return;
  try {
    await GetStorage.init();
    _isStorageInitialized = true;
  } catch (_) {}
}