factory Location.fromJson(Map<String, dynamic> json) { return Location( latitude: json['latitude'] as double, longitude: json['longitude'] as double, ); }