toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (careerSiteUri != null) 'careerSiteUri': careerSiteUri!,
      if (derivedInfo != null) 'derivedInfo': derivedInfo!,
      if (displayName != null) 'displayName': displayName!,
      if (eeoText != null) 'eeoText': eeoText!,
      if (externalId != null) 'externalId': externalId!,
      if (headquartersAddress != null)
        'headquartersAddress': headquartersAddress!,
      if (hiringAgency != null) 'hiringAgency': hiringAgency!,
      if (imageUri != null) 'imageUri': imageUri!,
      if (keywordSearchableJobCustomAttributes != null)
        'keywordSearchableJobCustomAttributes':
            keywordSearchableJobCustomAttributes!,
      if (name != null) 'name': name!,
      if (size != null) 'size': size!,
      if (suspended != null) 'suspended': suspended!,
      if (websiteUri != null) 'websiteUri': websiteUri!,
    };