Vulnerability class
Vulnerability provides metadata about a security vulnerability in a Note.
Constructors
-
Vulnerability({double? cvssScore, CVSSv3? cvssV3, List<
Detail> ? details, String? severity, String? sourceUpdateTime, List<WindowsDetail> ? windowsDetails}) - Vulnerability.fromJson(Map _json)
Properties
- cvssScore ↔ double?
-
The CVSS score for this vulnerability.
getter/setter pair
- cvssV3 ↔ CVSSv3?
-
The full description of the CVSSv3.
getter/setter pair
-
details
↔ List<
Detail> ? -
All information about the package to specifically identify this
vulnerability.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity ↔ String?
-
Note provider assigned impact of the vulnerability.
Possible string values are:
getter/setter pair
- sourceUpdateTime ↔ String?
-
The time this information was last changed at the source.
getter/setter pair
-
windowsDetails
↔ List<
WindowsDetail> ? -
Windows details get their own format because the information format and
model don't match a normal detail.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited