getTestResults static method

Future<TestResults> getTestResults(
  1. int testId, {
  2. int? limit,
  3. int? offset,
})

Implementation

static Future<TestResults> getTestResults(
  int testId, {
  int? limit,
  int? offset,
}) async {
  final url = '/get_results/$testId';

  final queryParameters = <String, dynamic>{
    'limit': limit,
    'offset': offset,
  };

  return _performRequest(
    requestUrl: url,
    queryParameters: queryParameters,
  );
}