toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (commuteFilter != null) 'commuteFilter': commuteFilter!,
      if (companies != null) 'companies': companies!,
      if (companyDisplayNames != null)
        'companyDisplayNames': companyDisplayNames!,
      if (compensationFilter != null)
        'compensationFilter': compensationFilter!,
      if (customAttributeFilter != null)
        'customAttributeFilter': customAttributeFilter!,
      if (disableSpellCheck != null) 'disableSpellCheck': disableSpellCheck!,
      if (employmentTypes != null) 'employmentTypes': employmentTypes!,
      if (excludedJobs != null) 'excludedJobs': excludedJobs!,
      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!,
    };