TutorProfile constructor

TutorProfile({
  1. List<TutorQualification> qualifications = const [],
  2. String? video,
  3. String? videoLink,
  4. String? photo,
  5. String? postcode,
  6. String? tagline,
  7. List<TutorSubject> subjects = const [],
  8. List<TutorAvailability> availability = const [],
  9. List<TutorTimeOff> timeOff = const [],
  10. String? dbsNumber,
  11. String? experience,
  12. int? experienceYears,
  13. String personalityType = '',
  14. String? address,
  15. bool? profilePhotoRejected,
  16. bool? onlineTutoring,
  17. bool? inPersonTutoring,
  18. required int tutorProfileId,
  19. bool? enableTrial,
  20. bool? enableInstant,
  21. LiveSessionTypeEnum? liveSessionType,
  22. int? school,
  23. String schoolName = '',
  24. bool? statementConfirmation,
  25. bool? handbook,
  26. String? tutorIDImage,
  27. String? tutorCv,
  28. int? country,
  29. int? id,
  30. required UserUpdate user,
  31. bool? hasBackendPhoto,
  32. bool? isSuperTutor,
  33. bool? hasStripeAccount,
  34. bool? isDbsChecked,
  35. List<String> incompleteSections = const [],
  36. bool? isLive,
  37. bool? hasWhiteboardAccess,
  38. bool? isHidden,
  39. List<int> coverage = const [],
  40. List<String> completedSections = const [],
  41. bool? metInPerson,
  42. int numReviews = 0,
  43. String responseTimeDisplay = '',
  44. bool? profileSubmitted,
  45. String userTimezone = '',
})

Returns a new TutorProfile instance.

Implementation

TutorProfile({
  this.qualifications = const [],
  this.video,
  this.videoLink,
  this.photo,
  this.postcode,
  this.tagline,
  this.subjects = const [],
  this.availability = const [],
  this.timeOff = const [],
  this.dbsNumber,
  this.experience,
  this.experienceYears,
  this.personalityType = '',
  this.address,
  this.profilePhotoRejected,
  this.onlineTutoring,
  this.inPersonTutoring,
  required this.tutorProfileId,
  this.enableTrial,
  this.enableInstant,
  this.liveSessionType,
  this.school,
  this.schoolName = '',
  this.statementConfirmation,
  this.handbook,
  this.tutorIDImage,
  this.tutorCv,
  this.country,
  this.id,
  required this.user,
  this.hasBackendPhoto,
  this.isSuperTutor,
  this.hasStripeAccount,
  this.isDbsChecked,
  this.incompleteSections = const [],
  this.isLive,
  this.hasWhiteboardAccess,
  this.isHidden,
  this.coverage = const [],
  this.completedSections = const [],
  this.metInPerson,
  this.numReviews = 0,
  this.responseTimeDisplay = '',
  this.profileSubmitted,
  this.userTimezone = '',
});