ScanView class

Constructors

ScanView({int? createdAt, int? critical, int? files, int? findings, int? high, String? id, int? low, int? medium, String? project})
Returns a new ScanView instance.

Properties

createdAt ↔ int?
CreatedAt is when the scan ran, in Unix milliseconds.
getter/setter pair
critical ↔ int?
Critical is how many findings carry the highest severity.
getter/setter pair
files ↔ int?
Files is how many files the scan read.
getter/setter pair
findings ↔ int?
Findings is how many secrets fired across them.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
high ↔ int?
High is how many findings rank high.
getter/setter pair
id ↔ String?
ID addresses this scan and every finding on it.
getter/setter pair
low ↔ int?
Low is how many findings rank low.
getter/setter pair
medium ↔ int?
Medium is how many findings rank medium.
getter/setter pair
project ↔ String?
Project is the sub-scope the scan was filed under.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → ScanView?
Returns a new ScanView instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ScanView>
mapFromJson(dynamic json) → Map<String, ScanView>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ScanView>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.