Company.fromJson constructor
Company.fromJson(
- Map json_
Implementation
Company.fromJson(core.Map json_)
: this(
careerSiteUri: json_.containsKey('careerSiteUri')
? json_['careerSiteUri'] as core.String
: null,
derivedInfo: json_.containsKey('derivedInfo')
? CompanyDerivedInfo.fromJson(
json_['derivedInfo'] as core.Map<core.String, core.dynamic>)
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
eeoText: json_.containsKey('eeoText')
? json_['eeoText'] as core.String
: null,
externalId: json_.containsKey('externalId')
? json_['externalId'] as core.String
: null,
headquartersAddress: json_.containsKey('headquartersAddress')
? json_['headquartersAddress'] as core.String
: null,
hiringAgency: json_.containsKey('hiringAgency')
? json_['hiringAgency'] as core.bool
: null,
imageUri: json_.containsKey('imageUri')
? json_['imageUri'] as core.String
: null,
keywordSearchableJobCustomAttributes:
json_.containsKey('keywordSearchableJobCustomAttributes')
? (json_['keywordSearchableJobCustomAttributes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
size: json_.containsKey('size') ? json_['size'] as core.String : null,
suspended: json_.containsKey('suspended')
? json_['suspended'] as core.bool
: null,
websiteUri: json_.containsKey('websiteUri')
? json_['websiteUri'] as core.String
: null,
);