PackageData.fromJson constructor
PackageData.fromJson(
- Map _json
Implementation
PackageData.fromJson(core.Map _json)
: this(
cpeUri: _json.containsKey('cpeUri')
? _json['cpeUri'] as core.String
: null,
os: _json.containsKey('os') ? _json['os'] as core.String : null,
osVersion: _json.containsKey('osVersion')
? _json['osVersion'] as core.String
: null,
package: _json.containsKey('package')
? _json['package'] as core.String
: null,
packageType: _json.containsKey('packageType')
? _json['packageType'] as core.String
: null,
unused: _json.containsKey('unused')
? _json['unused'] as core.String
: null,
version: _json.containsKey('version')
? _json['version'] as core.String
: null,
);