AppointmentModel constructor

AppointmentModel({
  1. required int id,
  2. required int serviceId,
  3. required int employeeId,
  4. required int customerId,
  5. required DateTime from,
  6. required DateTime to,
  7. required String color,
  8. required String eventName,
  9. required AppointmentModelStatus status,
  10. int? recurrenceId,
})

Returns a new AppointmentModel instance.

Implementation

AppointmentModel({
  required this.id,
  required this.serviceId,
  required this.employeeId,
  required this.customerId,
  required this.from,
  required this.to,
  required this.color,
  required this.eventName,
  required this.status,
  this.recurrenceId,
});