getAssessment method
Gets information about a specified assessment.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter assessmentId :
The unique identifier for the assessment.
Implementation
Future<GetAssessmentResponse> getAssessment({
required String assessmentId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/assessments/${Uri.encodeComponent(assessmentId)}',
exceptionFnMap: _exceptionFns,
);
return GetAssessmentResponse.fromJson(response);
}