getSp property
Future<SharedPreferences>
get
getSp
Implementation
static Future<SharedPreferences> get getSp async {
if (_sp != null) {
return _sp!;
} else {
_sp = await SharedPreferences.getInstance();
return _sp!;
}
}