toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adWordsLocationExtensions != null)
        'adWordsLocationExtensions': adWordsLocationExtensions!,
      if (categories != null) 'categories': categories!,
      if (labels != null) 'labels': labels!,
      if (languageCode != null) 'languageCode': languageCode!,
      if (latlng != null) 'latlng': latlng!,
      if (metadata != null) 'metadata': metadata!,
      if (moreHours != null) 'moreHours': moreHours!,
      if (name != null) 'name': name!,
      if (openInfo != null) 'openInfo': openInfo!,
      if (phoneNumbers != null) 'phoneNumbers': phoneNumbers!,
      if (profile != null) 'profile': profile!,
      if (regularHours != null) 'regularHours': regularHours!,
      if (relationshipData != null) 'relationshipData': relationshipData!,
      if (serviceArea != null) 'serviceArea': serviceArea!,
      if (serviceItems != null) 'serviceItems': serviceItems!,
      if (specialHours != null) 'specialHours': specialHours!,
      if (storeCode != null) 'storeCode': storeCode!,
      if (storefrontAddress != null) 'storefrontAddress': storefrontAddress!,
      if (title != null) 'title': title!,
      if (websiteUri != null) 'websiteUri': websiteUri!,
    };