toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (addresses != null) 'addresses': addresses!,
      if (applicationInfo != null) 'applicationInfo': applicationInfo!,
      if (company != null) 'company': company!,
      if (companyDisplayName != null)
        'companyDisplayName': companyDisplayName!,
      if (compensationInfo != null) 'compensationInfo': compensationInfo!,
      if (customAttributes != null) 'customAttributes': customAttributes!,
      if (degreeTypes != null) 'degreeTypes': degreeTypes!,
      if (department != null) 'department': department!,
      if (derivedInfo != null) 'derivedInfo': derivedInfo!,
      if (description != null) 'description': description!,
      if (employmentTypes != null) 'employmentTypes': employmentTypes!,
      if (incentives != null) 'incentives': incentives!,
      if (jobBenefits != null) 'jobBenefits': jobBenefits!,
      if (jobEndTime != null) 'jobEndTime': jobEndTime!,
      if (jobLevel != null) 'jobLevel': jobLevel!,
      if (jobStartTime != null) 'jobStartTime': jobStartTime!,
      if (languageCode != null) 'languageCode': languageCode!,
      if (name != null) 'name': name!,
      if (postingCreateTime != null) 'postingCreateTime': postingCreateTime!,
      if (postingExpireTime != null) 'postingExpireTime': postingExpireTime!,
      if (postingPublishTime != null)
        'postingPublishTime': postingPublishTime!,
      if (postingRegion != null) 'postingRegion': postingRegion!,
      if (postingUpdateTime != null) 'postingUpdateTime': postingUpdateTime!,
      if (processingOptions != null) 'processingOptions': processingOptions!,
      if (promotionValue != null) 'promotionValue': promotionValue!,
      if (qualifications != null) 'qualifications': qualifications!,
      if (requisitionId != null) 'requisitionId': requisitionId!,
      if (responsibilities != null) 'responsibilities': responsibilities!,
      if (title != null) 'title': title!,
      if (visibility != null) 'visibility': visibility!,
    };