GoogleAppsCloudidentityDevicesV1Device.fromJson constructor
GoogleAppsCloudidentityDevicesV1Device.fromJson(
- Map json_
Implementation
GoogleAppsCloudidentityDevicesV1Device.fromJson(core.Map json_)
: this(
androidSpecificAttributes:
json_.containsKey('androidSpecificAttributes')
? GoogleAppsCloudidentityDevicesV1AndroidAttributes.fromJson(
json_['androidSpecificAttributes']
as core.Map<core.String, core.dynamic>)
: null,
assetTag: json_.containsKey('assetTag')
? json_['assetTag'] as core.String
: null,
basebandVersion: json_.containsKey('basebandVersion')
? json_['basebandVersion'] as core.String
: null,
bootloaderVersion: json_.containsKey('bootloaderVersion')
? json_['bootloaderVersion'] as core.String
: null,
brand:
json_.containsKey('brand') ? json_['brand'] as core.String : null,
buildNumber: json_.containsKey('buildNumber')
? json_['buildNumber'] as core.String
: null,
compromisedState: json_.containsKey('compromisedState')
? json_['compromisedState'] as core.String
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
deviceId: json_.containsKey('deviceId')
? json_['deviceId'] as core.String
: null,
deviceType: json_.containsKey('deviceType')
? json_['deviceType'] as core.String
: null,
enabledDeveloperOptions: json_.containsKey('enabledDeveloperOptions')
? json_['enabledDeveloperOptions'] as core.bool
: null,
enabledUsbDebugging: json_.containsKey('enabledUsbDebugging')
? json_['enabledUsbDebugging'] as core.bool
: null,
encryptionState: json_.containsKey('encryptionState')
? json_['encryptionState'] as core.String
: null,
hostname: json_.containsKey('hostname')
? json_['hostname'] as core.String
: null,
imei: json_.containsKey('imei') ? json_['imei'] as core.String : null,
kernelVersion: json_.containsKey('kernelVersion')
? json_['kernelVersion'] as core.String
: null,
lastSyncTime: json_.containsKey('lastSyncTime')
? json_['lastSyncTime'] as core.String
: null,
managementState: json_.containsKey('managementState')
? json_['managementState'] as core.String
: null,
manufacturer: json_.containsKey('manufacturer')
? json_['manufacturer'] as core.String
: null,
meid: json_.containsKey('meid') ? json_['meid'] as core.String : null,
model:
json_.containsKey('model') ? json_['model'] as core.String : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
networkOperator: json_.containsKey('networkOperator')
? json_['networkOperator'] as core.String
: null,
osVersion: json_.containsKey('osVersion')
? json_['osVersion'] as core.String
: null,
otherAccounts: json_.containsKey('otherAccounts')
? (json_['otherAccounts'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
ownerType: json_.containsKey('ownerType')
? json_['ownerType'] as core.String
: null,
releaseVersion: json_.containsKey('releaseVersion')
? json_['releaseVersion'] as core.String
: null,
securityPatchTime: json_.containsKey('securityPatchTime')
? json_['securityPatchTime'] as core.String
: null,
serialNumber: json_.containsKey('serialNumber')
? json_['serialNumber'] as core.String
: null,
wifiMacAddresses: json_.containsKey('wifiMacAddresses')
? (json_['wifiMacAddresses'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);