toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'publishedAt': publishedAt,
      'channelId': channelId,
      'title': title,
      'description': description,
      'thumbnails': thumbnails?.toJson(),
      'channelTitle': channelTitle,
      'liveBroadcastContent': liveBroadcastContent,
      'publishTime': publishTime,
    };