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,
);