batchDeleteChunks method

  1. @override
Future<void> batchDeleteChunks(
  1. BatchDeleteChunksRequest request
)
override

Batch delete Chunks.

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> batchDeleteChunks(BatchDeleteChunksRequest request) async {
  if (isClosed) throw StateError('Service is closed');

  if (_batchDeleteChunks case final batchDeleteChunks?) {
    return batchDeleteChunks(request);
  }
  throw UnsupportedError('batchDeleteChunks');
}