readDouble method
Reads a double value from the source, and if not found, returns the
provided defaultValue
.
Implementation
double readDouble(source, key, {double defaultValue = -1.0}) {
return tryReadDouble(source, key) ?? defaultValue;
}
Reads a double value from the source, and if not found, returns the
provided defaultValue
.
double readDouble(source, key, {double defaultValue = -1.0}) {
return tryReadDouble(source, key) ?? defaultValue;
}