fetchReportByPostId method

Future<Response> fetchReportByPostId(
  1. dynamic id
)

Implementation

Future<http.Response> fetchReportByPostId(id) async {
  return await get(Uri.parse('$apiURL/reports/byPostId?post=$id'), headers: {
    "token":
        "cnejwi8c9wehnd8fchni2x239jxexnjx2n23i8xn3oifr0cwd32fjnrf453vreve"
  });
}