getDouble abstract method

double getDouble(
  1. String key,
  2. double defaultValue
)

Gets a 64-bit floating-point value. Returns defaultValue if the key is missing or the stored type is not double. @param key Lookup key. @param defaultValue Value to return when not found or type mismatch. @return Stored double or defaultValue.

Dart code snippet: @snippet storage_manager_example.dart dart_KeyValueStorage_getDouble

Implementation

double getDouble(String key, double defaultValue);