toJson method
Implementation
Map<String, dynamic> toJson() => {
'channelId': channelId,
'videoId': videoId,
'textDisplay': textDisplay,
'textOriginal': textOriginal,
'authorDisplayName': authorDisplayName,
'authorProfileImageUrl': authorProfileImageUrl,
'authorChannelUrl': authorChannelUrl,
'authorChannelId': authorChannelId?.toJson(),
'canRate': canRate,
'viewerRating': viewerRating,
'likeCount': likeCount,
'publishedAt': publishedAt,
'updatedAt': updatedAt,
};