toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final channelId = this.channelId;
final channelTitle = this.channelTitle;
final description = this.description;
final playlistId = this.playlistId;
final position = this.position;
final publishedAt = this.publishedAt;
final resourceId = this.resourceId;
final thumbnails = this.thumbnails;
final title = this.title;
final videoOwnerChannelId = this.videoOwnerChannelId;
final videoOwnerChannelTitle = this.videoOwnerChannelTitle;
return {
'channelId': ?channelId,
'channelTitle': ?channelTitle,
'description': ?description,
'playlistId': ?playlistId,
'position': ?position,
'publishedAt': ?publishedAt?.toUtc().toIso8601String(),
'resourceId': ?resourceId,
'thumbnails': ?thumbnails,
'title': ?title,
'videoOwnerChannelId': ?videoOwnerChannelId,
'videoOwnerChannelTitle': ?videoOwnerChannelTitle,
};
}