updateExecution method

  1. @override
Future<Execution> updateExecution(
  1. UpdateExecutionRequest request
)
override

Updates a stored Execution.

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

  if (_updateExecution case final updateExecution?) {
    return updateExecution(request);
  }
  throw UnsupportedError('updateExecution');
}