Booking constructor

Booking({
  1. int? id,
  2. User? customer,
  3. User? tutor,
  4. TutorFeedback? tutorFeedback,
  5. CustomerFeedback? customerFeedback,
  6. int? chat,
  7. String? cancellationPeriodHours,
  8. bool? canCancelCustomer,
  9. bool? hasCancellationPenalty,
  10. DateTime? paymentHoldsAt,
  11. int? paymentAmountInCents,
  12. String? feedbackId,
  13. required SimpleSubjectLevel subject,
  14. DateTime? created,
  15. DateTime? modified,
  16. DateTime? deletedAt,
  17. bool? isTutorPaid,
  18. bool? isAcceptedByCustomer,
  19. bool? isAcceptedByTutor,
  20. bool? isRejectedByCustomer,
  21. bool? isRejectedByTutor,
  22. String? location,
  23. DateTime? acceptanceChangedAt,
  24. DateTime? cancelledAt,
  25. bool? cancelledByCustomer,
  26. DateTime? confirmedAt,
  27. ConfirmedStatusEnum? confirmedStatus,
  28. CustomerFeedbackStatusEnum? customerFeedbackStatus,
  29. String? customerFeedbackNotes,
  30. DateTime? customerFeedbackCreatedAt,
  31. int? customerFeedbackRating,
  32. bool? customerFeedbackExcellent,
  33. String? tutorFeedbackNotes,
  34. DateTime? tutorFeedbackCreatedAt,
  35. int? tutorFeedbackRating,
  36. bool? showCustomerFeedbackOnSite,
  37. required DateTime startTime,
  38. required DateTime endTime,
  39. String? customerToken,
  40. String? tutorToken,
  41. bool? feedbackRequired,
  42. bool? isTrialCall,
  43. bool? finishedNotificationsSent,
  44. bool? reconfirmingNotificationsSent,
  45. String? cancelReason,
  46. bool? isCustomerRead,
  47. bool? isTutorRead,
  48. int? rescheduleCountByCustomer,
  49. int? rescheduleCountByTutor,
  50. int? invitation,
  51. int? cancelledBy,
  52. int? zoomMeeting,
})

Returns a new Booking instance.

Implementation

Booking({
  this.id,
  this.customer,
  this.tutor,
  this.tutorFeedback,
  this.customerFeedback,
  this.chat,
  this.cancellationPeriodHours,
  this.canCancelCustomer,
  this.hasCancellationPenalty,
  this.paymentHoldsAt,
  this.paymentAmountInCents,
  this.feedbackId,
  required this.subject,
  this.created,
  this.modified,
  this.deletedAt,
  this.isTutorPaid,
  this.isAcceptedByCustomer,
  this.isAcceptedByTutor,
  this.isRejectedByCustomer,
  this.isRejectedByTutor,
  this.location,
  this.acceptanceChangedAt,
  this.cancelledAt,
  this.cancelledByCustomer,
  this.confirmedAt,
  this.confirmedStatus,
  this.customerFeedbackStatus,
  this.customerFeedbackNotes,
  this.customerFeedbackCreatedAt,
  this.customerFeedbackRating,
  this.customerFeedbackExcellent,
  this.tutorFeedbackNotes,
  this.tutorFeedbackCreatedAt,
  this.tutorFeedbackRating,
  this.showCustomerFeedbackOnSite,
  required this.startTime,
  required this.endTime,
  this.customerToken,
  this.tutorToken,
  this.feedbackRequired,
  this.isTrialCall,
  this.finishedNotificationsSent,
  this.reconfirmingNotificationsSent,
  this.cancelReason,
  this.isCustomerRead,
  this.isTutorRead,
  this.rescheduleCountByCustomer,
  this.rescheduleCountByTutor,
  this.invitation,
  this.cancelledBy,
  this.zoomMeeting,
});