setDouble function
add a Double in SharedPref
Implementation
@Deprecated('Use setValue instead')
Future<bool> setDouble(String key, double value) async {
return await getSharedPref().then((pref) async {
return await pref.setDouble(key, value);
});
}