getDouble abstract method
Returns the double value linked to the key, otherwise defaultValue.
If key does not exist in the JSON object, or if there is a specific default value that
you want to return when the value associated with key is null, set it to the
argument defaultValue.
Implementation
double getDouble({
required String key,
double defaultValue = -1.0,
});