removePage method

Future<Response> removePage({
  1. required int? storyId,
  2. required int? numPage,
})

Implementation

Future<http.Response> removePage(
    {required int? storyId, required int? numPage}) {
  return delete(
      Uri.parse('$apiURL/story/removePage?id=$storyId&pageNum=$numPage'),
      headers: {
        "token":
            "cnejwi8c9wehnd8fchni2x239jxexnjx2n23i8xn3oifr0cwd32fjnrf453vreve"
      });
}