setLong static method

Future setLong(
  1. String key,
  2. double value
)

Saves a large numeric value as double for key.

Implementation

static Future setLong(String key, double value) async {
  await _prefs.setDouble(key, value);
}