deleteComment method
Deletes a comment from the list.
Removes the comment from the comments list and deletes it from the server.
commentId is the ID of the comment to delete.
Note: This only deletes root comments. To delete a reply, use deleteReply.
Implementation
Future<void> deleteComment(String commentId) async {
await controller.deleteComment(commentId);
_comments.removeWhere((c) => c.id == commentId);
notifyListeners();
}