GuardrailViolation class final

A failed guardrail.

Annotations

Constructors

GuardrailViolation(GuardrailRule rule, double measured, double required, [String detail = ''])
const

Properties

detail → String
Extra context (e.g. which check of a compound rule failed).
final
hashCode → int
The hash code for this object.
no setterinherited
measured → double
The measured value (ratio or ΔEOK); the worst sample for multi-sample rules.
final
required → double
The floor it had to reach.
final
rule → GuardrailRule
final
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
toString() → String
A string representation of this object.
override

Operators

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