PaymentIntentResponse constructor

const PaymentIntentResponse({
  1. PaymentIntent? paymentIntent,
  2. StripeError? error,
})

Implementation

const factory PaymentIntentResponse({
  /// If not null, a PaymentIntent was retrieved successfully
  PaymentIntent? paymentIntent,

  /// If not null, an error occurred
  StripeError? error,
}) = _PaymentIntentResponse;