delete method
Implementation
Future<SoftDeleteTestCase?> delete({
bool soft = false,
}) async {
final parametersMap = {
'soft': soft ? 1 : 0,
};
final url = '/delete_case/$id';
final response = await FlutterTestRail.instance.client.request(
url,
RequestMethod.post,
params: parametersMap,
);
if (soft) {
return SoftDeleteTestCase.fromJson(response!);
}
return null;
}