deleteComment method

Future<void> deleteComment(
  1. String commentId
)

Deletes a comment.

Permanently removes the comment from the system. This operation cannot be undone.

commentId is the ID of the comment to delete.

Throws an exception if the deletion fails.

Implementation

Future<void> deleteComment(String commentId) async {
  await service.deleteComment(commentId);
}