toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (accessibilityOptions != null)
'accessibilityOptions': accessibilityOptions!,
if (addressComponents != null) 'addressComponents': addressComponents!,
if (adrFormatAddress != null) 'adrFormatAddress': adrFormatAddress!,
if (allowsDogs != null) 'allowsDogs': allowsDogs!,
if (areaSummary != null) 'areaSummary': areaSummary!,
if (attributions != null) 'attributions': attributions!,
if (businessStatus != null) 'businessStatus': businessStatus!,
if (curbsidePickup != null) 'curbsidePickup': curbsidePickup!,
if (currentOpeningHours != null)
'currentOpeningHours': currentOpeningHours!,
if (currentSecondaryOpeningHours != null)
'currentSecondaryOpeningHours': currentSecondaryOpeningHours!,
if (delivery != null) 'delivery': delivery!,
if (dineIn != null) 'dineIn': dineIn!,
if (displayName != null) 'displayName': displayName!,
if (editorialSummary != null) 'editorialSummary': editorialSummary!,
if (evChargeOptions != null) 'evChargeOptions': evChargeOptions!,
if (formattedAddress != null) 'formattedAddress': formattedAddress!,
if (fuelOptions != null) 'fuelOptions': fuelOptions!,
if (generativeSummary != null) 'generativeSummary': generativeSummary!,
if (goodForChildren != null) 'goodForChildren': goodForChildren!,
if (goodForGroups != null) 'goodForGroups': goodForGroups!,
if (goodForWatchingSports != null)
'goodForWatchingSports': goodForWatchingSports!,
if (googleMapsUri != null) 'googleMapsUri': googleMapsUri!,
if (iconBackgroundColor != null)
'iconBackgroundColor': iconBackgroundColor!,
if (iconMaskBaseUri != null) 'iconMaskBaseUri': iconMaskBaseUri!,
if (id != null) 'id': id!,
if (internationalPhoneNumber != null)
'internationalPhoneNumber': internationalPhoneNumber!,
if (liveMusic != null) 'liveMusic': liveMusic!,
if (location != null) 'location': location!,
if (menuForChildren != null) 'menuForChildren': menuForChildren!,
if (name != null) 'name': name!,
if (nationalPhoneNumber != null)
'nationalPhoneNumber': nationalPhoneNumber!,
if (outdoorSeating != null) 'outdoorSeating': outdoorSeating!,
if (parkingOptions != null) 'parkingOptions': parkingOptions!,
if (paymentOptions != null) 'paymentOptions': paymentOptions!,
if (photos != null) 'photos': photos!,
if (plusCode != null) 'plusCode': plusCode!,
if (priceLevel != null) 'priceLevel': priceLevel!,
if (primaryType != null) 'primaryType': primaryType!,
if (primaryTypeDisplayName != null)
'primaryTypeDisplayName': primaryTypeDisplayName!,
if (rating != null) 'rating': rating!,
if (regularOpeningHours != null)
'regularOpeningHours': regularOpeningHours!,
if (regularSecondaryOpeningHours != null)
'regularSecondaryOpeningHours': regularSecondaryOpeningHours!,
if (reservable != null) 'reservable': reservable!,
if (restroom != null) 'restroom': restroom!,
if (reviews != null) 'reviews': reviews!,
if (servesBeer != null) 'servesBeer': servesBeer!,
if (servesBreakfast != null) 'servesBreakfast': servesBreakfast!,
if (servesBrunch != null) 'servesBrunch': servesBrunch!,
if (servesCocktails != null) 'servesCocktails': servesCocktails!,
if (servesCoffee != null) 'servesCoffee': servesCoffee!,
if (servesDessert != null) 'servesDessert': servesDessert!,
if (servesDinner != null) 'servesDinner': servesDinner!,
if (servesLunch != null) 'servesLunch': servesLunch!,
if (servesVegetarianFood != null)
'servesVegetarianFood': servesVegetarianFood!,
if (servesWine != null) 'servesWine': servesWine!,
if (shortFormattedAddress != null)
'shortFormattedAddress': shortFormattedAddress!,
if (subDestinations != null) 'subDestinations': subDestinations!,
if (takeout != null) 'takeout': takeout!,
if (types != null) 'types': types!,
if (userRatingCount != null) 'userRatingCount': userRatingCount!,
if (utcOffsetMinutes != null) 'utcOffsetMinutes': utcOffsetMinutes!,
if (viewport != null) 'viewport': viewport!,
if (websiteUri != null) 'websiteUri': websiteUri!,
};