update method

Future<TestRun> update({
  1. required Iterable<int> caseIds,
  2. bool includeAll = false,
})

Implementation

Future<TestRun> update({
  required Iterable<int> caseIds,
  bool includeAll = false,
}) async {
  final response = await TestRail.instance.client.request(
    '/update_run/$id',
    RequestMethod.post,
    params: {
      'case_ids': caseIds,
      'include_all': includeAll,
    },
  );
  return TestRun.fromJson(response);
}