ArticleGroup class
Kategorie der Kachel-Kasse.
Constructors
-
ArticleGroup({required String id, required String name, required String color, required int sort, String? symbol, num? vatRate, List<
String> ? addOns, List<DepositEntry> ? deposits}) -
const
-
ArticleGroup.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
addOns
→ List<
String> ? -
Zusaetze der Gruppe (Zusatz-Kacheln, 11.18.0): Artikel-Kennungen in der
Reihenfolge des Fensters;
null= keine. Wirksam wird die Liste erst ueber addOnsFor.final - color → String
-
#RRGGBB.final -
deposits
→ List<
DepositEntry> ? -
Pfand der Gruppe (Pfand & Leergut): gilt fuer Artikel ohne eigene Liste;
null= keines. Wirksam wird es ueber depositsFor.final - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sort → int
-
final
- symbol → String?
-
Kategorie-Symbol (Emoji, höchstens zwei Zeichen) oder
null.final - vatRate → num?
-
Vorschlag der Gruppe; der Artikel entscheidet.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Zurück in die Form, aus der ArticleGroup.fromJson wieder liest – für Zwischenspeicher, nicht fürs Backend.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited