startTestCase method

Future<void> startTestCase(
  1. String userId,
  2. String scenarioId,
  3. String testcaseId
)

Implementation

Future<void> startTestCase(String userId, String scenarioId, String testcaseId) async{
  Api<Map<String,dynamic>,Map<String,dynamic>>? api = _getApi(ApiName.startTestCase);
  RequestContext context = RequestContext();
  Map<String,dynamic>? input = api?.getInput(context);
  input?['userId'] = userId;
  input?['scenarioId'] = scenarioId;
  input?['testcaseId'] = testcaseId;
  await api?.request(input, context);
}