static double? float( Map<String, Object?> map, String key, ) { return (map[key] as num?)?.toDouble(); }