copyWith method
PaymentMethodResponse
copyWith({
- String? id,
- String? type,
- PaymentMethodAttributesResponse? attributes,
Implementation
PaymentMethodResponse copyWith({
String? id,
String? type,
PaymentMethodAttributesResponse? attributes,
}) {
return PaymentMethodResponse(
id: id ?? this.id,
type: type ?? this.type,
attributes: attributes ?? this.attributes,
);
}