justRead method
Implementation
dynamic justRead(String key) {
var value = prefrences.getString(key);
if (value == null) return null;
try {
return jsonDecode(value);
} catch (err) {
debugPrint(err.toString());
}
}
dynamic justRead(String key) {
var value = prefrences.getString(key);
if (value == null) return null;
try {
return jsonDecode(value);
} catch (err) {
debugPrint(err.toString());
}
}