asCard method
Implementation
StripeCard? asCard() {
if (stripePaymentSource is StripeCard) {
return stripePaymentSource as StripeCard;
}
return null;
}
StripeCard? asCard() {
if (stripePaymentSource is StripeCard) {
return stripePaymentSource as StripeCard;
}
return null;
}