Jidlo class Null safety

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

Constructors

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

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited