asDouble function
Implementation
double asDouble(Map<String, dynamic>? json, String key,
{double defaultValue = 0.0}) {
if (json == null || !json.containsKey(key)) return defaultValue;
return toDouble(json[key]);
}
double asDouble(Map<String, dynamic>? json, String key,
{double defaultValue = 0.0}) {
if (json == null || !json.containsKey(key)) return defaultValue;
return toDouble(json[key]);
}