cancelExecution method
Cancels the execution specified with executionId
.
Implementation
Future<void> cancelExecution(int executionId) async {
try {
await _methodChannel.invokeMethod('cancel', {'executionId': executionId});
} on PlatformException catch (e) {
logger.e('Plugin cancelExecution error: ${e.message}');
}
}