getLong static method

double getLong(
  1. String key
)

Reads a large numeric value as double for key.

Implementation

static double getLong(String key) {
  final double? value = _prefs.getDouble(key);
  return value ?? 0.0;
}