copyWith method
PaymentMethodAttributes
copyWith({
- PaymentType? type,
- PaymentMethodDetails? details,
- PayMongoBilling? billing,
billing for customer
Implementation
PaymentMethodAttributes copyWith({
PaymentType? type,
PaymentMethodDetails? details,
PayMongoBilling? billing,
}) {
return PaymentMethodAttributes(
type: type ?? this.type,
details: details ?? this.details,
billing: billing ?? this.billing,
);
}