Workload.fromJson constructor
Workload.fromJson(
- Map json_
Implementation
Workload.fromJson(core.Map json_)
: this(
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
folder: json_.containsKey('folder')
? json_['folder'] as core.String
: null,
folderId: json_.containsKey('folderId')
? json_['folderId'] as core.String
: null,
isOnboarded: json_.containsKey('isOnboarded')
? json_['isOnboarded'] as core.bool
: null,
keyManagementProjectId: json_.containsKey('keyManagementProjectId')
? json_['keyManagementProjectId'] as core.String
: null,
location: json_.containsKey('location')
? json_['location'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
partner: json_.containsKey('partner')
? json_['partner'] as core.String
: null,
workloadOnboardingState: json_.containsKey('workloadOnboardingState')
? WorkloadOnboardingState.fromJson(
json_['workloadOnboardingState']
as core.Map<core.String, core.dynamic>)
: null,
);