Jidlo constructor

Jidlo({
  1. required String nazev,
  2. JidloKategorizovano? kategorizovano,
  3. required bool objednano,
  4. required String varianta,
  5. required DateTime den,
  6. List<Alergen> alergeny = const [],
  7. double? cena,
  8. required bool lzeObjednat,
  9. String? orderUrl,
  10. String? burzaUrl,
  11. required bool naBurze,
})

Implementation

Jidlo(
    {required this.nazev,
    this.kategorizovano,
    required this.objednano,
    required this.varianta,
    required this.den,
    this.alergeny = const [],
    this.cena,
    required this.lzeObjednat,
    this.orderUrl,
    this.burzaUrl,
    required this.naBurze});