toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (accessibilityOptions != null)
    'accessibilityOptions': accessibilityOptions!,
  if (addressComponents != null) 'addressComponents': addressComponents!,
  if (addressDescriptor != null) 'addressDescriptor': addressDescriptor!,
  if (adrFormatAddress != null) 'adrFormatAddress': adrFormatAddress!,
  if (allowsDogs != null) 'allowsDogs': allowsDogs!,
  if (attributions != null) 'attributions': attributions!,
  if (businessStatus != null) 'businessStatus': businessStatus!,
  if (consumerAlert != null) 'consumerAlert': consumerAlert!,
  if (containingPlaces != null) 'containingPlaces': containingPlaces!,
  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 (evChargeAmenitySummary != null)
    'evChargeAmenitySummary': evChargeAmenitySummary!,
  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 (googleMapsLinks != null) 'googleMapsLinks': googleMapsLinks!,
  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 (neighborhoodSummary != null)
    'neighborhoodSummary': neighborhoodSummary!,
  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 (postalAddress != null) 'postalAddress': postalAddress!,
  if (priceLevel != null) 'priceLevel': priceLevel!,
  if (priceRange != null) 'priceRange': priceRange!,
  if (primaryType != null) 'primaryType': primaryType!,
  if (primaryTypeDisplayName != null)
    'primaryTypeDisplayName': primaryTypeDisplayName!,
  if (pureServiceAreaBusiness != null)
    'pureServiceAreaBusiness': pureServiceAreaBusiness!,
  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 (reviewSummary != null) 'reviewSummary': reviewSummary!,
  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 (timeZone != null) 'timeZone': timeZone!,
  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!,
};