getDouble static method

double? getDouble(
  1. String key, {
  2. double? defValue = 0.0,
})

get double.

Implementation

static double? getDouble(String key, {double? defValue = 0.0}) {
  return _prefs.getDouble(key) ?? defValue;
}