PaymentMethodData constructor

  1. @JsonSerializable(explicitToJson: true)
const PaymentMethodData({
  1. BillingDetails? billingDetails,
  2. ShippingDetails? shippingDetails,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory PaymentMethodData({
  /// Billing information.
  BillingDetails? billingDetails,

  /// Shipping details
  ShippingDetails? shippingDetails,
}) = _PaymentMethodData;