updateDouble method

Future<void> updateDouble(
  1. String key,
  2. double newValue
)

Updates an existing double key with a new value.

Implementation

Future<void> updateDouble(String key, double newValue) async {
  await _assertExists(key);
  await setDouble(key, newValue);
}