getDouble static method
dynamic
getDouble(
- dynamic value
A helper for JSON number decoding.
Implementation
static getDouble(dynamic value) {
if (value is int) {
return value.toDouble();
} else {
return value;
}
}