toString method

  1. @override
String toString()
override

A string representation of this object.

Some classes have a default textual representation, often paired with a static parse function (like int.parse). These classes will provide the textual representation as their string representation.

Other classes have no meaningful textual representation that a program will care about. Such classes will typically override toString to provide useful information when inspecting the object, mainly for debugging or logging.

Implementation

@override
String toString() => 'TutorProfileDisplay[id=$id, user=$user, tutorProfileId=$tutorProfileId, experience=$experience, experienceYears=$experienceYears, address=$address, dbsNumber=$dbsNumber, video=$video, videoLink=$videoLink, inPersonTutoring=$inPersonTutoring, onlineTutoring=$onlineTutoring, personalityType=$personalityType, profilePhotoRejected=$profilePhotoRejected, numReviews=$numReviews, subjects=$subjects, selectedSubject=$selectedSubject, photo=$photo, isDbsChecked=$isDbsChecked, isDbsCompleted=$isDbsCompleted, qualifications=$qualifications, hasSkype=$hasSkype, metInPerson=$metInPerson, coverageNames=$coverageNames, rating=$rating, responseTimeDisplay=$responseTimeDisplay, postcode=$postcode, slug=$slug, isSuperTutor=$isSuperTutor, numFiveStarReviews=$numFiveStarReviews, numExcellentReviews=$numExcellentReviews, numProfileViews=$numProfileViews, tagline=$tagline, badgeHeader=$badgeHeader, hasNumberOfViewsBadge=$hasNumberOfViewsBadge, isLive=$isLive, completedSections=$completedSections, incompleteSections=$incompleteSections, profileSubmitted=$profileSubmitted, isFeatured=$isFeatured, enableTrial=$enableTrial, enableInstant=$enableInstant, school=$school, schoolName=$schoolName, country=$country, hasStripeAccount=$hasStripeAccount, availability=$availability, timeOff=$timeOff, userTimezone=$userTimezone, isTrialed=$isTrialed]';