toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "place_id": placeId,
      "lat": lat,
      "lon": lon,
      "display_name": displayName,
      "address": address?.toJson(),
    };