removeComment method

Future<Response> removeComment({
  1. required dynamic commentId,
})

Implementation

Future<http.Response> removeComment({required commentId}) {
  return delete(Uri.parse('$apiURL/post-comments/remove?id=$commentId'),
      headers: {
        "token":
            "cnejwi8c9wehnd8fchni2x239jxexnjx2n23i8xn3oifr0cwd32fjnrf453vreve"
      });
}