addReplyComment method
Implementation
Future<http.Response> addReplyComment({
required int? postComments,
required int? user,
required String comment,
}) {
var data = json.encode({
"postComments": postComments,
"user": user,
"comment": comment,
});
return post(Uri.parse('$apiURL/reply-comments/create'),
headers: {
"token":
"cnejwi8c9wehnd8fchni2x239jxexnjx2n23i8xn3oifr0cwd32fjnrf453vreve",
"content-type": 'application/json',
},
body: data);
}