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() => 'ModelDetail[id=$id, author=$author, name=$name, primaryMethod=$primaryMethod, secondaryMethods=$secondaryMethods, confidence=$confidence, classificationEvidence=$classificationEvidence, classifierVersion=$classifierVersion, classifiedAt=$classifiedAt, family=$family, paramsB=$paramsB, isGguf=$isGguf, isMoe=$isMoe, isMultimodal=$isMultimodal, isImageGen=$isImageGen, isSecondOrder=$isSecondOrder, downloads=$downloads, likes=$likes, createdAt=$createdAt, lastModified=$lastModified, firstSeenAt=$firstSeenAt, lastSeenAt=$lastSeenAt, isDelisted=$isDelisted, daysSinceGone=$daysSinceGone, readmeText=$readmeText, readmeStatus=$readmeStatus, tags=$tags, pipelineTag=$pipelineTag, libraryName=$libraryName, yamlBaseModel=$yamlBaseModel, yamlLanguage=$yamlLanguage, yamlDatasets=$yamlDatasets, yamlLicense=$yamlLicense, yamlTags=$yamlTags, filesCount=$filesCount, totalSizeBytes=$totalSizeBytes, largestFileBytes=$largestFileBytes, smallestModelBytes=$smallestModelBytes, quantizations=$quantizations, hasMmproj=$hasMmproj, hubDownloadsAllTime=$hubDownloadsAllTime, hubTrendingScore=$hubTrendingScore, hubRealParamsM=$hubRealParamsM, hubContextLength=$hubContextLength, hubSiblingsCount=$hubSiblingsCount, hubProviderCount=$hubProviderCount, hubProviderNames=$hubProviderNames, hubEnrichedAt=$hubEnrichedAt, files=$files, benchmarks=$benchmarks, authorSummary=$authorSummary]';