getDouble static method

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

Returns a double value associated with the given key, or defaultValue if the key is not found.

Implementation

static double getDouble(String key, {double defaultValue = 0.0}) =>
    _instance.getDouble(key) ?? defaultValue;