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