getDouble method
Access a double
value.
Returns double.nan
if there is no such key or if it is not a double
.
Implementation
double getDouble(String key) {
if (get(key) is! double) {
return double.nan;
}
return get(key);
}
Access a double
value.
Returns double.nan
if there is no such key or if it is not a double
.
double getDouble(String key) {
if (get(key) is! double) {
return double.nan;
}
return get(key);
}