deleteHook method
Implementation
Future<bool> deleteHook(RepositorySlug slug, int id) async {
ArgumentError.checkNotNull(slug);
ArgumentError.checkNotNull(id);
return github
.request(
'DELETE',
'/repos/${slug.fullName}/hooks/$id',
statusCode: StatusCodes.NO_CONTENT,
)
.then((response) => response.statusCode == StatusCodes.NO_CONTENT);
}