setDouble static method

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

Sets a double value in SharedPreferences.

Implementation

static Future<bool> setDouble(String key, double value) {
  return prefs!.setDouble(key, value);
}