onPaymentMethodSelected property
Called when the user selects a saved payment method.
The paymentMethod map contains:
type— e.g."card"paymentMethodId— unique identifiercard—{ source, brand, last4, expiration: { month, year } }
Implementation
final void Function(Map<String, Object?> paymentMethod)?
onPaymentMethodSelected;