setDouble static method

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

Saves a double value to persistent storage under the specified app group.

If value is null, this is equivalent to calling remove() on the key.

Implementation

static Future<void> setDouble(String key, double? value) async {
  await _setValue('Double', key, value);
}