addTestResult static method

Future<TestResult> addTestResult(
  1. int testId, {
  2. int? limit,
  3. int? offset,
  4. int? statusId,
  5. int? version,
})

Implementation

static Future<TestResult> addTestResult(
  int testId, {
  int? limit,
  int? offset,
  int? statusId,
  int? version,
}) async {
  final url = '/add_result/$testId';

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

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