TutorProfileDisplay constructor
TutorProfileDisplay({
- int? id,
- required UserRetrival user,
- int? tutorProfileId,
- String? experience,
- int? experienceYears,
- String? address,
- String? dbsNumber,
- String? video,
- String? videoLink,
- bool? inPersonTutoring,
- bool? onlineTutoring,
- String? personalityType,
- bool? profilePhotoRejected,
- int numReviews = 0,
- List<
TutorSubject> subjects = const [], - TutorSubject? selectedSubject,
- required String photo,
- bool? isDbsChecked,
- bool? isDbsCompleted,
- List<
TutorQualification> qualifications = const [], - bool? hasSkype,
- bool? metInPerson,
- List<
String> coverageNames = const [], - int rating = 0,
- String? responseTimeDisplay,
- String? postcode,
- String? slug,
- bool? isSuperTutor,
- int? numFiveStarReviews,
- int? numExcellentReviews,
- int? numProfileViews,
- String? tagline,
- required String badgeHeader,
- String? hasNumberOfViewsBadge,
- bool? isLive,
- List<
String> completedSections = const [], - List<
String> incompleteSections = const [], - bool? profileSubmitted,
- bool? isFeatured,
- bool? enableTrial,
- bool? enableInstant,
- int? school,
- String schoolName = '',
- Country? country,
- bool? hasStripeAccount,
- List<
TutorAvailability> availability = const [], - List<
TutorTimeOff> timeOff = const [], - required String userTimezone,
- 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,
});