putDouble static method

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

Implementation

static Future<bool> putDouble(String key, double? value) =>
    value == null ? remove(key) : sharedPreferences.setDouble(key, value);