getInstance static method
- {SharedPreferences? store}
Implementation
static Future<CoreStoreSharedPrefsImp> getInstance(
{SharedPreferences? store}) async {
if (_instance == null) {
store ??= await SharedPreferences.getInstance();
_instance = CoreStoreSharedPrefsImp._internal(store);
}
return _instance!;
}