TutorInvitation constructor

TutorInvitation({
  1. int? id,
  2. DateTime? acceptanceChangedAt,
  3. int? cancellationPeriodHours,
  4. DateTime? cancelledAt,
  5. int? cancelledBy,
  6. bool? cancelledByCustomer,
  7. required int 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. int? tutor,
  19. required int subject,
  20. List<InvitationDate> invitationDates = const [],
})

Returns a new TutorInvitation instance.

Implementation

TutorInvitation({
  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,
  this.tutor,
  required this.subject,
  this.invitationDates = const [],
});