Converts this object to a JSON map.
Map<String, dynamic> toJson() { return { 'address': address, 'location': location?.toJson(), }; }