toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      '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?.map((e) => e.toMap()).toList(),
      'resources': resources,
      'poster': poster?.map((e) => e.toMap()).toList(),
      'watchedDuration': watchedDuration,
      'contentdetails': contentdetails?.map((e) => e.toMap()).toList(),
    };