InventoryItem.fromJson constructor
InventoryItem.fromJson(
- Map json_
Implementation
InventoryItem.fromJson(core.Map json_)
: this(
availablePackage: json_.containsKey('availablePackage')
? InventorySoftwarePackage.fromJson(json_['availablePackage']
as core.Map<core.String, core.dynamic>)
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
installedPackage: json_.containsKey('installedPackage')
? InventorySoftwarePackage.fromJson(json_['installedPackage']
as core.Map<core.String, core.dynamic>)
: null,
originType: json_.containsKey('originType')
? json_['originType'] as core.String
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);