deletePost function
- {required int postId}
Implementation
Future<CommonModel> deletePost({required int postId}) async {
Map<String, dynamic> req = {AddPhoto.id: postId};
return CommonModel.fromJson(await (handleResponse(await buildHttpResponse("${APIEndPoint.removePost}", request: req, method: HttpMethod.POST))));
}