getExecution method
Retrieve a single execution by ID
Implementation
Future<Response> getExecution(int id, {bool? includeData}) async {
try {
final response = await _dio.get(
'/executions/$id',
queryParameters: {
if (includeData != null) 'includeData': includeData,
},
);
return response;
} on DioException catch (e) {
throw Exception('Failed to retrieve execution: ${e.message}');
}
}