CodeScanningAlert class

Represents a GitHub code scanning alert.

Constructors

CodeScanningAlert.new({required int number, required String state, required String ruleId, required String severity})
Creates a new CodeScanningAlert instance.
CodeScanningAlert.fromJson(Map<String, dynamic> json)
Creates a CodeScanningAlert instance from a JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
number int
The number of the alert.
final
ruleId String
The identifier of the rule that triggered the alert.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity String
The severity level of the alert.
final
state String
The current state of the alert.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited