createTensorboardExperiment method

  1. @override
Future<TensorboardExperiment> createTensorboardExperiment(
  1. CreateTensorboardExperimentRequest request
)
override

Creates a TensorboardExperiment.

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<TensorboardExperiment> createTensorboardExperiment(
  CreateTensorboardExperimentRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_createTensorboardExperiment case final createTensorboardExperiment?) {
    return createTensorboardExperiment(request);
  }
  throw UnsupportedError('createTensorboardExperiment');
}