Meal constructor

const Meal({
  1. required int id,
  2. required String name,
  3. required List<String> notes,
  4. double? studentPrice,
  5. double? employeePrice,
  6. double? pupilPrice,
  7. double? othersPrice,
  8. required String category,
})

Construct a new meal instance.

Implementation

const Meal({
  required this.id,
  required this.name,
  required this.notes,
  this.studentPrice,
  this.employeePrice,
  this.pupilPrice,
  this.othersPrice,
  required this.category,
});