Appointment constructor

Appointment({
  1. required int id,
  2. required int start,
  3. required int end,
  4. required int startTimeSlot,
  5. required int endTimeSlot,
  6. required List subjects,
  7. required List teachers,
  8. required List groups,
  9. required List locations,
  10. required String type,
  11. required String remark,
  12. required bool valid,
  13. required bool cancelled,
  14. required bool modified,
  15. required bool moved,
  16. required dynamic isNew,
  17. required String changeDescription,
})

Implementation

Appointment({
  required this.id,
  required this.start,
  required this.end,
  required this.startTimeSlot,
  required this.endTimeSlot,
  required this.subjects,
  required this.teachers,
  required this.groups,
  required this.locations,
  required this.type,
  required this.remark,
  required this.valid,
  required this.cancelled,
  required this.modified,
  required this.moved,
  required this.isNew,
  required this.changeDescription,
});