Job.fromJson constructor
Job.fromJson(
- Map json_
Implementation
Job.fromJson(core.Map json_)
: this(
addresses: json_.containsKey('addresses')
? (json_['addresses'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
applicationInfo: json_.containsKey('applicationInfo')
? ApplicationInfo.fromJson(json_['applicationInfo']
as core.Map<core.String, core.dynamic>)
: null,
company: json_.containsKey('company')
? json_['company'] as core.String
: null,
companyDisplayName: json_.containsKey('companyDisplayName')
? json_['companyDisplayName'] as core.String
: null,
compensationInfo: json_.containsKey('compensationInfo')
? CompensationInfo.fromJson(json_['compensationInfo']
as core.Map<core.String, core.dynamic>)
: null,
customAttributes: json_.containsKey('customAttributes')
? (json_['customAttributes']
as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
CustomAttribute.fromJson(
value as core.Map<core.String, core.dynamic>),
),
)
: null,
degreeTypes: json_.containsKey('degreeTypes')
? (json_['degreeTypes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
department: json_.containsKey('department')
? json_['department'] as core.String
: null,
derivedInfo: json_.containsKey('derivedInfo')
? JobDerivedInfo.fromJson(
json_['derivedInfo'] as core.Map<core.String, core.dynamic>)
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
employmentTypes: json_.containsKey('employmentTypes')
? (json_['employmentTypes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
incentives: json_.containsKey('incentives')
? json_['incentives'] as core.String
: null,
jobBenefits: json_.containsKey('jobBenefits')
? (json_['jobBenefits'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
jobEndTime: json_.containsKey('jobEndTime')
? json_['jobEndTime'] as core.String
: null,
jobLevel: json_.containsKey('jobLevel')
? json_['jobLevel'] as core.String
: null,
jobStartTime: json_.containsKey('jobStartTime')
? json_['jobStartTime'] as core.String
: null,
languageCode: json_.containsKey('languageCode')
? json_['languageCode'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
postingCreateTime: json_.containsKey('postingCreateTime')
? json_['postingCreateTime'] as core.String
: null,
postingExpireTime: json_.containsKey('postingExpireTime')
? json_['postingExpireTime'] as core.String
: null,
postingPublishTime: json_.containsKey('postingPublishTime')
? json_['postingPublishTime'] as core.String
: null,
postingRegion: json_.containsKey('postingRegion')
? json_['postingRegion'] as core.String
: null,
postingUpdateTime: json_.containsKey('postingUpdateTime')
? json_['postingUpdateTime'] as core.String
: null,
processingOptions: json_.containsKey('processingOptions')
? ProcessingOptions.fromJson(json_['processingOptions']
as core.Map<core.String, core.dynamic>)
: null,
promotionValue: json_.containsKey('promotionValue')
? json_['promotionValue'] as core.int
: null,
qualifications: json_.containsKey('qualifications')
? json_['qualifications'] as core.String
: null,
requisitionId: json_.containsKey('requisitionId')
? json_['requisitionId'] as core.String
: null,
responsibilities: json_.containsKey('responsibilities')
? json_['responsibilities'] as core.String
: null,
title:
json_.containsKey('title') ? json_['title'] as core.String : null,
visibility: json_.containsKey('visibility')
? json_['visibility'] as core.String
: null,
);