load static method

Future<SharedPreferences?> load()

Implementation

static Future<SharedPreferences?> load() async {
  _prefs ??= await SharedPreferences.getInstance();
  return _prefs;
}