setDouble static method

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

Implementation

static Future setDouble(String key, double value) async {
  final prefs = await SharedPreferences.getInstance();
  return prefs.setDouble(key, value);
}