InventoryOsInfo.fromJson constructor
InventoryOsInfo.fromJson(
- Map _json
Implementation
InventoryOsInfo.fromJson(core.Map _json)
: this(
architecture: _json.containsKey('architecture')
? _json['architecture'] as core.String
: null,
hostname: _json.containsKey('hostname')
? _json['hostname'] as core.String
: null,
kernelRelease: _json.containsKey('kernelRelease')
? _json['kernelRelease'] as core.String
: null,
kernelVersion: _json.containsKey('kernelVersion')
? _json['kernelVersion'] as core.String
: null,
longName: _json.containsKey('longName')
? _json['longName'] as core.String
: null,
osconfigAgentVersion: _json.containsKey('osconfigAgentVersion')
? _json['osconfigAgentVersion'] as core.String
: null,
shortName: _json.containsKey('shortName')
? _json['shortName'] as core.String
: null,
version: _json.containsKey('version')
? _json['version'] as core.String
: null,
);