setDouble static method

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

Implementation

static Future<bool> setDouble(String key, double value) async {
  SharedPreferences sharedPreferences = await SharedPreferences.getInstance();
  return await sharedPreferences.setDouble(key, value);
}