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() => 'APIComment[id=$id, aiDeterminedSpam=$aiDeterminedSpam, anonUserId=$anonUserId, approved=$approved, avatarSrc=$avatarSrc, badges=$badges, comment=$comment, commentHTML=$commentHTML, commenterEmail=$commenterEmail, commenterLink=$commenterLink, commenterName=$commenterName, date=$date, displayLabel=$displayLabel, domain=$domain, externalId=$externalId, externalParentId=$externalParentId, expireAt=$expireAt, feedbackIds=$feedbackIds, flagCount=$flagCount, fromProductId=$fromProductId, hasCode=$hasCode, hasImages=$hasImages, hasLinks=$hasLinks, hashTags=$hashTags, isByAdmin=$isByAdmin, isByModerator=$isByModerator, isDeleted=$isDeleted, isDeletedUser=$isDeletedUser, isPinned=$isPinned, isLocked=$isLocked, isSpam=$isSpam, localDateHours=$localDateHours, localDateString=$localDateString, locale=$locale, mentions=$mentions, meta=$meta, moderationGroupIds=$moderationGroupIds, notificationSentForParent=$notificationSentForParent, notificationSentForParentTenant=$notificationSentForParentTenant, pageTitle=$pageTitle, parentId=$parentId, rating=$rating, reviewed=$reviewed, tenantId=$tenantId, url=$url, urlId=$urlId, urlIdRaw=$urlIdRaw, userId=$userId, verified=$verified, verifiedDate=$verifiedDate, votes=$votes, votesDown=$votesDown, votesUp=$votesUp]';