getExperiment method
Gets information about the specified experiment.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter id :
The ID of the experiment.
Implementation
Future<GetExperimentResponse> getExperiment({
required String id,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/experiments/${Uri.encodeComponent(id)}',
exceptionFnMap: _exceptionFns,
);
return GetExperimentResponse.fromJson(response);
}