updateDoubleValue method

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

Implementation

Future<void> updateDoubleValue(String key, double newValue) async {
  final prefs = await _prefs;
  await prefs.setDouble(key, newValue);
}