close method
Closes the checkout. open then completes with CheckoutDismissed unless a payment already succeeded or failed.
Implementation
Future<void> close() async {
if (!_isOpen) return;
await _channel.invokeMethod<void>('close');
}
Closes the checkout. open then completes with CheckoutDismissed unless a payment already succeeded or failed.
Future<void> close() async {
if (!_isOpen) return;
await _channel.invokeMethod<void>('close');
}