deleteHook method
Deletes the specified hook.
Implementation
Future<bool> deleteHook(String org, int id) {
return github
.request(
'DELETE',
'/orgs/$org/hooks/$id',
)
.then((response) {
return response.statusCode == StatusCodes.NO_CONTENT;
});
}