TutorInvitationResponse constructor

TutorInvitationResponse({
  1. int? id,
  2. DateTime? acceptanceChangedAt,
  3. int? cancellationPeriodHours,
  4. DateTime? cancelledAt,
  5. int? cancelledBy,
  6. bool? cancelledByCustomer,
  7. required User customer,
  8. int? chat,
  9. DateTime? endTime,
  10. bool? hasCancellationPenalty,
  11. bool? isAcceptedByCustomer,
  12. bool? isAcceptedByTutor,
  13. bool? isRejectedByCustomer,
  14. String? location,
  15. int? numWeeks,
  16. int? paymentAmountInCents,
  17. DateTime? startTime,
  18. required User tutor,
  19. required SimpleSubjectLevel subject,
  20. List<InvitationDate> invitationDates = const [],
})

Returns a new TutorInvitationResponse instance.

Implementation

TutorInvitationResponse({
  this.id,
  this.acceptanceChangedAt,
  this.cancellationPeriodHours,
  this.cancelledAt,
  this.cancelledBy,
  this.cancelledByCustomer,
  required this.customer,
  this.chat,
  this.endTime,
  this.hasCancellationPenalty,
  this.isAcceptedByCustomer,
  this.isAcceptedByTutor,
  this.isRejectedByCustomer,
  this.location,
  this.numWeeks,
  this.paymentAmountInCents,
  this.startTime,
  required this.tutor,
  required this.subject,
  this.invitationDates = const [],
});