Geo GeoFromJson(Map<String, dynamic> json) { return Geo( lat: (json['lat'] as num).toDouble(), lng: (json['lng'] as num).toDouble(), ); }