deleteExclusion method

  1. @override
Future<void> deleteExclusion(
  1. DeleteExclusionRequest request
)
override

Deletes an exclusion in the _Default sink.

Throws a http.ClientException if there were problems communicating with the API service. Throws a ServiceException if the API method failed for any reason.

Implementation

@override
Future<void> deleteExclusion(DeleteExclusionRequest request) async {
  if (isClosed) throw StateError('Service is closed');

  if (_deleteExclusion case final deleteExclusion?) {
    return deleteExclusion(request);
  }
  throw UnsupportedError('deleteExclusion');
}