getInsights method

Future<GetInsightsResponse> getInsights()

Gets the latest analytics data for all your current active assessments.

May throw AccessDeniedException. May throw InternalServerException.

Implementation

Future<GetInsightsResponse> getInsights() async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/insights',
    exceptionFnMap: _exceptionFns,
  );
  return GetInsightsResponse.fromJson(response);
}