TutorCard constructor

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