putDouble static method

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

Stores a double value.

Implementation

static Future<void> putDouble(String key, double value) async {
  await _sharedPreferences.setDouble(key, value);
}