toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (channelId != null) 'channelId': channelId!,
if (channelTitle != null) 'channelTitle': channelTitle!,
if (description != null) 'description': description!,
if (liveBroadcastContent != null)
'liveBroadcastContent': liveBroadcastContent!,
if (publishedAt != null)
'publishedAt': publishedAt!.toUtc().toIso8601String(),
if (thumbnails != null) 'thumbnails': thumbnails!,
if (title != null) 'title': title!,
};