IndexTutorCard constructor
IndexTutorCard({
- required int id,
- required String photo,
- required int tutorProfileId,
- int? experienceYears,
- String? totalBookings,
- int numReviews = 0,
- required String name,
- String? experience,
- required String photoCard,
- required String photoThumbnail,
- bool? hasSkype,
- String? responseTimeDisplay,
- int rating = 0,
- bool? isFeatured,
- String? slug,
- bool? isSuperTutor,
- bool? hasWhiteboardAccess,
- String? tagline,
- List<
TutorQualification> qualifications = const [], - int? numProfileViews,
- int? numFiveStarReviews,
- int? numExcellentReviews,
- bool? onlineTutoring,
- bool? inPersonTutoring,
- TutorSubject? selectedSubject,
- bool onlineLastMonth = false,
- DateTime? lastLogin,
- int? school,
- String? isDbsChecked,
- String? isQualifiedTutor,
- String schoolName = '',
- required String userTimezone,
- String? subjects,
Returns a new IndexTutorCard instance.
Implementation
IndexTutorCard({
required this.id,
required this.photo,
required this.tutorProfileId,
this.experienceYears,
this.totalBookings,
this.numReviews = 0,
required this.name,
this.experience,
required this.photoCard,
required this.photoThumbnail,
this.hasSkype,
this.responseTimeDisplay,
this.rating = 0,
this.isFeatured,
this.slug,
this.isSuperTutor,
this.hasWhiteboardAccess,
this.tagline,
this.qualifications = const [],
this.numProfileViews,
this.numFiveStarReviews,
this.numExcellentReviews,
this.onlineTutoring,
this.inPersonTutoring,
this.selectedSubject,
this.onlineLastMonth = false,
this.lastLogin,
this.school,
this.isDbsChecked,
this.isQualifiedTutor,
this.schoolName = '',
required this.userTimezone,
this.subjects,
});