cancel method
Cancels an in-flight native transaction.
Implementation
Future<void> cancel() async {
try {
await _channel.invokeMethod<void>(
'nativeCancelTransaction',
);
} catch (_) {
// Best-effort; swallow
}
}
Cancels an in-flight native transaction.
Future<void> cancel() async {
try {
await _channel.invokeMethod<void>(
'nativeCancelTransaction',
);
} catch (_) {
// Best-effort; swallow
}
}