Cvssv3.fromJson constructor
Cvssv3.fromJson(
- Map json_
Implementation
Cvssv3.fromJson(core.Map json_)
: this(
attackComplexity: json_.containsKey('attackComplexity')
? json_['attackComplexity'] as core.String
: null,
attackVector: json_.containsKey('attackVector')
? json_['attackVector'] as core.String
: null,
availabilityImpact: json_.containsKey('availabilityImpact')
? json_['availabilityImpact'] as core.String
: null,
baseScore: json_.containsKey('baseScore')
? (json_['baseScore'] as core.num).toDouble()
: null,
confidentialityImpact: json_.containsKey('confidentialityImpact')
? json_['confidentialityImpact'] as core.String
: null,
integrityImpact: json_.containsKey('integrityImpact')
? json_['integrityImpact'] as core.String
: null,
privilegesRequired: json_.containsKey('privilegesRequired')
? json_['privilegesRequired'] as core.String
: null,
scope:
json_.containsKey('scope') ? json_['scope'] as core.String : null,
userInteraction: json_.containsKey('userInteraction')
? json_['userInteraction'] as core.String
: null,
);