updateChunk method
Updates a Chunk.
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<Chunk> updateChunk(UpdateChunkRequest request) async {
if (isClosed) throw StateError('Service is closed');
if (_updateChunk case final updateChunk?) {
return updateChunk(request);
}
throw UnsupportedError('updateChunk');
}