PaymentMethodResponse constructor

const PaymentMethodResponse({
  1. PaymentMethod? paymentMethod,
  2. StripeError? error,
})

Implementation

const factory PaymentMethodResponse({
  /// If not null, a PaymentMethod was created  successfully
  PaymentMethod? paymentMethod,

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