putDouble static method

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

Implementation

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