read method
Get data with custom key
Implementation
Future<dynamic> read(String key) {
return SharedPreferences.getInstance().then((sharedPreferences) {
return sharedPreferences.get(key);
}).catchError((error) {
print('FlutterPlusUtils.read -> $error');
});
}