lastPaymentError property
The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.
Implementation
@JsonKey(name: "last_payment_error")
StripeError? get lastPaymentError => throw _privateConstructorUsedError;