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) {
print("Plugin cancelExecution error: ${e.message}");
}
}