removeComment method
Implementation
Future<void> removeComment(Function deleteFunction) async {
PostRemoveCommentResponse response = await service.postsServices
.removecomment(commentID: xcomment!.value!.commentID);
ARMOYUWidget.toastNotification(response.result.description.toString());
if (!response.result.status) {
return;
}
deleteFunction();
}