deleteExecution method

Future<Response> deleteExecution(
  1. int id
)

Delete an execution by ID

Implementation

Future<Response> deleteExecution(int id) async {
  try {
    final response = await _dio.delete(
      '/executions/$id',
    );
    return response;
  } on DioException catch (e) {
    throw Exception('Failed to delete execution: ${e.message}');
  }
}