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