updatePostReport method

Future<bool> updatePostReport(
  1. dynamic postId
)

Implementation

Future<bool> updatePostReport(postId) {
  return _httpService.updatePostReport(postId: postId).then((data) async {
    if (data.statusCode >= 200) {
      return true;
    }
    return false;
  });
}