AuditViolation class

One reported violation — file is whatever path the caller passed in (typically repo-relative), not validated against the filesystem by this pure function.

Constructors

AuditViolation({required String file, required AuditRuleId ruleId, required AuditSeverity severity, required String description})
const

Properties

description → String
final
file → String
final
hashCode → int
The hash code for this object.
no setterinherited
ruleId → AuditRuleId
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
severity → AuditSeverity
final

Methods

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

Operators

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