setDouble method Null safety

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

Saves a double value to persistent storage in the background.

Android doesn't support storing doubles, so it will be stored as a float.

Implementation

Future<bool> setDouble(String key, double value) =>
    _setValue('Double', key, value);