PackageIssue.fromJson constructor
PackageIssue.fromJson(
- Map _json
Implementation
PackageIssue.fromJson(core.Map _json)
: this(
affectedCpeUri: _json.containsKey('affectedCpeUri')
? _json['affectedCpeUri'] as core.String
: null,
affectedPackage: _json.containsKey('affectedPackage')
? _json['affectedPackage'] as core.String
: null,
affectedVersion: _json.containsKey('affectedVersion')
? Version.fromJson(_json['affectedVersion']
as core.Map<core.String, core.dynamic>)
: null,
effectiveSeverity: _json.containsKey('effectiveSeverity')
? _json['effectiveSeverity'] as core.String
: null,
fixAvailable: _json.containsKey('fixAvailable')
? _json['fixAvailable'] as core.bool
: null,
fixedCpeUri: _json.containsKey('fixedCpeUri')
? _json['fixedCpeUri'] as core.String
: null,
fixedPackage: _json.containsKey('fixedPackage')
? _json['fixedPackage'] as core.String
: null,
fixedVersion: _json.containsKey('fixedVersion')
? Version.fromJson(
_json['fixedVersion'] as core.Map<core.String, core.dynamic>)
: null,
packageType: _json.containsKey('packageType')
? _json['packageType'] as core.String
: null,
);