PaymentMethodParams.card constructor

  1. @JsonSerializable(explicitToJson: true)
  2. @FreezedUnionValue('Card')
const PaymentMethodParams.card({
  1. required PaymentMethodData paymentMethodData,
})

Config parameters for card payment method.

Implementation

@JsonSerializable(explicitToJson: true)
@FreezedUnionValue('Card')

/// Config parameters for card payment method.
const factory PaymentMethodParams.card({
  /// Paymentmethod data for this paymentmethod.
  required PaymentMethodData paymentMethodData,
}) = _PaymentMethodParamsCard;