getTensorboard method

  1. @override
Future<Tensorboard> getTensorboard(
  1. GetTensorboardRequest request
)
override

Gets a Tensorboard.

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

  if (_getTensorboard case final getTensorboard?) {
    return getTensorboard(request);
  }
  throw UnsupportedError('getTensorboard');
}