GoogleAppsCloudidentityDevicesV1ClientState.fromJson constructor
GoogleAppsCloudidentityDevicesV1ClientState.fromJson(
- Map json_
Implementation
GoogleAppsCloudidentityDevicesV1ClientState.fromJson(core.Map json_)
: this(
assetTags: json_.containsKey('assetTags')
? (json_['assetTags'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
complianceState: json_.containsKey('complianceState')
? json_['complianceState'] as core.String
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
customId: json_.containsKey('customId')
? json_['customId'] as core.String
: null,
etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
healthScore: json_.containsKey('healthScore')
? json_['healthScore'] as core.String
: null,
keyValuePairs: json_.containsKey('keyValuePairs')
? (json_['keyValuePairs'] as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
GoogleAppsCloudidentityDevicesV1CustomAttributeValue
.fromJson(value as core.Map<core.String, core.dynamic>),
),
)
: null,
lastUpdateTime: json_.containsKey('lastUpdateTime')
? json_['lastUpdateTime'] as core.String
: null,
managed: json_.containsKey('managed')
? json_['managed'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
ownerType: json_.containsKey('ownerType')
? json_['ownerType'] as core.String
: null,
scoreReason: json_.containsKey('scoreReason')
? json_['scoreReason'] as core.String
: null,
);