toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'channelId': channelId,
      'videoId': videoId,
      'topLevelComment': topLevelComment?.toJson(),
      'canReply': canReply,
      'totalReplyCount': totalReplyCount,
      'isPublic': isPublic,
    };