IndexTutorCard constructor

IndexTutorCard({
  1. required int id,
  2. required String photo,
  3. required int tutorProfileId,
  4. int? experienceYears,
  5. String? totalBookings,
  6. int numReviews = 0,
  7. required String name,
  8. String? experience,
  9. required String photoCard,
  10. required String photoThumbnail,
  11. bool? hasSkype,
  12. String? responseTimeDisplay,
  13. int rating = 0,
  14. bool? isFeatured,
  15. String? slug,
  16. bool? isSuperTutor,
  17. bool? hasWhiteboardAccess,
  18. String? tagline,
  19. List<TutorQualification> qualifications = const [],
  20. int? numProfileViews,
  21. int? numFiveStarReviews,
  22. int? numExcellentReviews,
  23. bool? onlineTutoring,
  24. bool? inPersonTutoring,
  25. TutorSubject? selectedSubject,
  26. bool onlineLastMonth = false,
  27. DateTime? lastLogin,
  28. int? school,
  29. String? isDbsChecked,
  30. String? isQualifiedTutor,
  31. String schoolName = '',
  32. required String userTimezone,
  33. 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,
});