confirm method

Future<void> confirm({
  1. String? clientSecret,
})

Starts the payment. The customer still completes it in the wallet's own sheet.

Implementation

Future<void> confirm({String? clientSecret}) async {
  final channel = _channel;
  if (channel == null) return;
  await channel.invokeMethod('confirm', {
    'clientSecret': clientSecret ?? _clientSecret,
  });
}