$double static method
Implementation
static double? $double(dynamic json, String key) {
final value = _getJsonValue(json, key);
if (value == null) return null;
if (value is double) return value;
if (value is int || value is num) return value.toDouble();
return double.tryParse(value.toString());
}