batchUpdateChunks method

  1. @override
Future<BatchUpdateChunksResponse> batchUpdateChunks(
  1. BatchUpdateChunksRequest request
)
override

Batch update 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<BatchUpdateChunksResponse> batchUpdateChunks(
  BatchUpdateChunksRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_batchUpdateChunks case final batchUpdateChunks?) {
    return batchUpdateChunks(request);
  }
  throw UnsupportedError('batchUpdateChunks');
}