toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final channelId = this.channelId;
final channelTitle = this.channelTitle;
final defaultLanguage = this.defaultLanguage;
final description = this.description;
final localized = this.localized;
final publishedAt = this.publishedAt;
final tags = this.tags;
final thumbnailVideoId = this.thumbnailVideoId;
final thumbnails = this.thumbnails;
final title = this.title;
return {
'channelId': ?channelId,
'channelTitle': ?channelTitle,
'defaultLanguage': ?defaultLanguage,
'description': ?description,
'localized': ?localized,
'publishedAt': ?publishedAt?.toUtc().toIso8601String(),
'tags': ?tags,
'thumbnailVideoId': ?thumbnailVideoId,
'thumbnails': ?thumbnails,
'title': ?title,
};
}