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