TutorInvitationResponse constructor
TutorInvitationResponse({
- int? id,
- DateTime? acceptanceChangedAt,
- int? cancellationPeriodHours,
- DateTime? cancelledAt,
- int? cancelledBy,
- bool? cancelledByCustomer,
- required User customer,
- int? chat,
- DateTime? endTime,
- bool? hasCancellationPenalty,
- bool? isAcceptedByCustomer,
- bool? isAcceptedByTutor,
- bool? isRejectedByCustomer,
- String? location,
- int? numWeeks,
- int? paymentAmountInCents,
- DateTime? startTime,
- required User tutor,
- required SimpleSubjectLevel subject,
- 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 [],
});