DiscountPresetsCheck class
Ergebnis von checkDiscountPresets: bei ok die normalisierte Liste (value, Name getrimmt), sonst code (invalidDiscountPreset) und errors.
Constructors
-
DiscountPresetsCheck.invalid(List<
DiscountPresetError> errors) -
const
-
DiscountPresetsCheck.valid(List<
PosDiscountPreset> value) -
const
Properties
- code → String?
-
Der Fehlercode des Servers; nur bei
!ok.no setter -
errors
→ List<
DiscountPresetError> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ok → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
value
→ List<
PosDiscountPreset> -
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