getExperimentTemplate method

Future<GetExperimentTemplateResponse> getExperimentTemplate({
  1. required String id,
})

Gets information about the specified experiment template.

May throw ResourceNotFoundException. May throw ValidationException.

Parameter id : The ID of the experiment template.

Implementation

Future<GetExperimentTemplateResponse> getExperimentTemplate({
  required String id,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/experimentTemplates/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetExperimentTemplateResponse.fromJson(response);
}