get<T> static method
Implementation
static Future<dynamic?> get<T>(String key) async {
if (_prefs == null) await init();
if (_prefs?.containsKey(key) ?? false) {
return _prefs?.get(key);
} else {
return null;
}
}