setDouble method

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

Saves a double value to the platform.

On platforms that do not support storing doubles, the value will be stored as a float.

Implementation

Future<void> setDouble(String key, double value) {
  return _platform.setDouble(key, value, _options);
}