getDouble method

double getDouble(
  1. String key
)

Gets a double or 0.

Implementation

double getDouble(String key) {
  return getDoubleOrNull(key) ?? 0;
}