get abstract method
get use for get any type of data
return data according to key, if key is not found then throw PrefException
exception
Example :
ProSheredPreference sheredPrefHelper = ProSheredPreference();
try {
var result = await sheredPrefHelper.get("key");
print(result); // print data according to key
} on PrefException catch (e) {
print(e.toString());
}
Implementation
Future<dynamic> get(String key);