putDouble static method

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

put double.

Implementation

static Future<bool> putDouble(String key, double value) async {
  if (_prefs == null) return false;
  return await _prefs!.setDouble(key, value);
}