ErrorRule class
Eine Regel: fuer eine Art (und optional bestimmte Codes oder einen Ausgang) entweder ein Satz des Katalogs (key) oder ein Verhalten (behavior).
Constructors
-
ErrorRule({required ErrorKind kind, List<
String> ? codes, ErrorOutcome? outcome, ErrorRuleBehavior? behavior, String? key}) -
const
Properties
- behavior → ErrorRuleBehavior?
-
final
-
codes
→ List<
String> ? -
Nur in errorCodeRules: die Codes, fuer die die Regel gilt.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String?
-
Schluessel des Satzes in posMessages.
final
- kind → ErrorKind
-
final
- outcome → ErrorOutcome?
-
Nur in errorOutcomeRules: der Ausgang, fuer den die Regel gilt.
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
-
toJson(
) → Map< String, Object> -
Die Form des Vertrags (
pos-texts.json). -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited