toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (commuteFilter != null) 'commuteFilter': commuteFilter!,
      if (companyDisplayNames != null)
        'companyDisplayNames': companyDisplayNames!,
      if (companyNames != null) 'companyNames': companyNames!,
      if (compensationFilter != null)
        'compensationFilter': compensationFilter!,
      if (customAttributeFilter != null)
        'customAttributeFilter': customAttributeFilter!,
      if (disableSpellCheck != null) 'disableSpellCheck': disableSpellCheck!,
      if (employmentTypes != null) 'employmentTypes': employmentTypes!,
      if (jobCategories != null) 'jobCategories': jobCategories!,
      if (languageCodes != null) 'languageCodes': languageCodes!,
      if (locationFilters != null) 'locationFilters': locationFilters!,
      if (publishTimeRange != null) 'publishTimeRange': publishTimeRange!,
      if (query != null) 'query': query!,
      if (queryLanguageCode != null) 'queryLanguageCode': queryLanguageCode!,
    };