setDouble method

  1. @override
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

@override
Future<bool> setDouble(String key, double value) => update(key, value);