confirmWithCustomerDefaultPaymentMethod method
Presents the payment sheet.
Throws an UnimplementedError if the method is not implemented.
Implementation
@override
Future<Map<String, dynamic>?>
confirmWithCustomerDefaultPaymentMethod() async {
final result = await methodChannel.invokeMethod<Map<dynamic, dynamic>>(
'confirmWithCustomerDefaultPaymentMethod');
if (result != null) {
final Map<String, dynamic> resultMap = Map<String, dynamic>.from(result);
return resultMap;
}
return null;
}