toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (actualEndTime != null)
'actualEndTime': actualEndTime!.toUtc().toIso8601String(),
if (actualStartTime != null)
'actualStartTime': actualStartTime!.toUtc().toIso8601String(),
if (channelId != null) 'channelId': channelId!,
if (description != null) 'description': description!,
if (isDefaultBroadcast != null)
'isDefaultBroadcast': isDefaultBroadcast!,
if (liveChatId != null) 'liveChatId': liveChatId!,
if (publishedAt != null)
'publishedAt': publishedAt!.toUtc().toIso8601String(),
if (scheduledEndTime != null)
'scheduledEndTime': scheduledEndTime!.toUtc().toIso8601String(),
if (scheduledStartTime != null)
'scheduledStartTime': scheduledStartTime!.toUtc().toIso8601String(),
if (thumbnails != null) 'thumbnails': thumbnails!,
if (title != null) 'title': title!,
};