RuleViolation class final
An invoice breaking one rule.
Constructors
- RuleViolation({required RuleDescriptor rule, required String message, String? path})
-
The breach of
rule, explained bymessageand found atpath.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
What is wrong, in words, written by this package.
final
- path → String?
-
Where in the invoice, when the rule bears on one line or one entry
rather than on the invoice as a whole.
final
- rule → RuleDescriptor
-
The rule that was broken.
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