toJson method

Map<String, dynamic> toJson()

Implementation

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