copyWith method

properties are initialized by default.

Implementation

PaymentMethodOptions copyWith({
  PaymentIntentCard? card,
}) {
  return PaymentMethodOptions(
    card: card ?? this.card,
  );
}