delete method

Future<bool> delete()

Delete this

Example :

await webhook.delete();

Implementation

Future<bool> delete () async {
  Response response = await ioc.use<HttpService>().destroy(url: "/webhooks/$id/$token");

  return response.statusCode == 200;
}