Jidlo class

Reprezentuje jedno jídlo z jídelníčku

Constructors

Jidlo({required String nazev, JidloKategorizovano? kategorizovano, required bool objednano, required String varianta, required DateTime den, List<Alergen> alergeny = const [], double? cena, required bool lzeObjednat, String? orderUrl, String? burzaUrl, required bool naBurze})

Properties

alergeny List<Alergen>
Seznam alergenů
getter/setter pair
burzaUrl String?
URL pro vložení jídla na burzu
final
cena double?
Cena
getter/setter pair
den DateTime
Den, který je jídlo vydáváno
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kategorizovano JidloKategorizovano?
Kategorizované jídlo
getter/setter pair
lzeObjednat bool
Lze objednat?
getter/setter pair
naBurze bool
Je jídlo aktuálně na burze?
getter/setter pair
nazev String
Název jídla
getter/setter pair
objednano bool
Objednal si uživatel toto jídlo?
getter/setter pair
orderUrl String?
URL pro požadavek na objednání jídla
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
varianta String
Název varianty
getter/setter pair

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