close method

Future<TestRun> close()

Implementation

Future<TestRun> close() async {
  final response = await FlutterTestRail.instance.client
      .request('/close_run/$id', RequestMethod.post);
  return TestRun.fromJson(response!);
}