TutorProfile constructor
TutorProfile({
- List<
TutorQualification> qualifications = const [], - String? video,
- String? videoLink,
- String? photo,
- String? postcode,
- String? tagline,
- List<
TutorSubject> subjects = const [], - List<
TutorAvailability> availability = const [], - List<
TutorTimeOff> timeOff = const [], - String? dbsNumber,
- String? experience,
- int? experienceYears,
- String personalityType = '',
- String? address,
- bool? profilePhotoRejected,
- bool? onlineTutoring,
- bool? inPersonTutoring,
- required int tutorProfileId,
- bool? enableTrial,
- bool? enableInstant,
- LiveSessionTypeEnum? liveSessionType,
- int? school,
- String schoolName = '',
- bool? statementConfirmation,
- bool? handbook,
- String? tutorIDImage,
- String? tutorCv,
- int? country,
- int? id,
- required UserUpdate user,
- bool? hasBackendPhoto,
- bool? isSuperTutor,
- bool? hasStripeAccount,
- bool? isDbsChecked,
- List<
String> incompleteSections = const [], - bool? isLive,
- bool? hasWhiteboardAccess,
- bool? isHidden,
- List<
int> coverage = const [], - List<
String> completedSections = const [], - bool? metInPerson,
- int numReviews = 0,
- String responseTimeDisplay = '',
- bool? profileSubmitted,
- 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 = '',
});