cancel method
Cancels all ongoing executions.
Implementation
Future<void> cancel() async {
try {
await _methodChannel.invokeMethod('cancel');
} on PlatformException catch (e) {
logger.e('Plugin cancel error: ${e.message}');
}
}
Cancels all ongoing executions.
Future<void> cancel() async {
try {
await _methodChannel.invokeMethod('cancel');
} on PlatformException catch (e) {
logger.e('Plugin cancel error: ${e.message}');
}
}