setDoubleValues method

Future setDoubleValues(
  1. String key,
  2. double value
)

Implementation

Future<dynamic> setDoubleValues(String key, double value) async {
  var prefs = await SharedPreferences.getInstance();
  await prefs.setDouble(key, value);
}