TutorProfileDisplay constructor

TutorProfileDisplay({
  1. int? id,
  2. required UserRetrival user,
  3. int? tutorProfileId,
  4. String? experience,
  5. int? experienceYears,
  6. String? address,
  7. String? dbsNumber,
  8. String? video,
  9. String? videoLink,
  10. bool? inPersonTutoring,
  11. bool? onlineTutoring,
  12. String? personalityType,
  13. bool? profilePhotoRejected,
  14. int numReviews = 0,
  15. List<TutorSubject> subjects = const [],
  16. TutorSubject? selectedSubject,
  17. required String photo,
  18. bool? isDbsChecked,
  19. bool? isDbsCompleted,
  20. List<TutorQualification> qualifications = const [],
  21. bool? hasSkype,
  22. bool? metInPerson,
  23. List<String> coverageNames = const [],
  24. int rating = 0,
  25. String? responseTimeDisplay,
  26. String? postcode,
  27. String? slug,
  28. bool? isSuperTutor,
  29. int? numFiveStarReviews,
  30. int? numExcellentReviews,
  31. int? numProfileViews,
  32. String? tagline,
  33. required String badgeHeader,
  34. String? hasNumberOfViewsBadge,
  35. bool? isLive,
  36. List<String> completedSections = const [],
  37. List<String> incompleteSections = const [],
  38. bool? profileSubmitted,
  39. bool? isFeatured,
  40. bool? enableTrial,
  41. bool? enableInstant,
  42. int? school,
  43. String schoolName = '',
  44. Country? country,
  45. bool? hasStripeAccount,
  46. List<TutorAvailability> availability = const [],
  47. List<TutorTimeOff> timeOff = const [],
  48. required String userTimezone,
  49. bool? isTrialed,
})

Returns a new TutorProfileDisplay instance.

Implementation

TutorProfileDisplay({
  this.id,
  required this.user,
  this.tutorProfileId,
  this.experience,
  this.experienceYears,
  this.address,
  this.dbsNumber,
  this.video,
  this.videoLink,
  this.inPersonTutoring,
  this.onlineTutoring,
  this.personalityType,
  this.profilePhotoRejected,
  this.numReviews = 0,
  this.subjects = const [],
  this.selectedSubject,
  required this.photo,
  this.isDbsChecked,
  this.isDbsCompleted,
  this.qualifications = const [],
  this.hasSkype,
  this.metInPerson,
  this.coverageNames = const [],
  this.rating = 0,
  this.responseTimeDisplay,
  this.postcode,
  this.slug,
  this.isSuperTutor,
  this.numFiveStarReviews,
  this.numExcellentReviews,
  this.numProfileViews,
  this.tagline,
  required this.badgeHeader,
  this.hasNumberOfViewsBadge,
  this.isLive,
  this.completedSections = const [],
  this.incompleteSections = const [],
  this.profileSubmitted,
  this.isFeatured,
  this.enableTrial,
  this.enableInstant,
  this.school,
  this.schoolName = '',
  this.country,
  this.hasStripeAccount,
  this.availability = const [],
  this.timeOff = const [],
  required this.userTimezone,
  this.isTrialed,
});