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() {
  return 'Datum(objectid: $objectid, objecttype: $objecttype, partnerid: $partnerid, title: $title, defaulttitle: $defaulttitle, defaultgenre: $defaultgenre, publishtime: $publishtime, endtime: $endtime, shortdescription: $shortdescription, ratingtype: $ratingtype, pgrating: $pgrating, parentid: $parentid, objectstatus: $objectstatus, genre: $genre, subgenre: $subgenre, thumbnail: $thumbnail, tags: $tags, contentlanguage: $contentlanguage, objectowner: $objectowner, jobid: $jobid, longdescription: $longdescription, objecttag: $objecttag, details: $details, productionyear: $productionyear, releasedate: $releasedate, imdbid: $imdbid, advisory: $advisory, metacontent: $metacontent, skilllevel: $skilllevel, estimatedtime: $estimatedtime, whatwelearn: $whatwelearn, category: $category, subcategory: $subcategory, seriesid: $seriesid, seriesname: $seriesname, seasonid: $seasonid, seasonname: $seasonname, seasonnum: $seasonnum, episodenum: $episodenum, albumid: $albumid, albumname: $albumname, track: $track, duration: $duration, bandorartist: $bandorartist, skip: $skip, resources: $resources, contentdetails: $contentdetails)';
}