copyWith method
PaymentBillingInfo
copyWith(
{ - String? billingName,
- String? street,
- String? zip,
- String? city,
- String? state,
- String? country,
- String? countryCode,
- String? companyName,
- String? vat,
- String? companyNumber,
- String? currency,
- int? id,
- int? isDefault,
- int? createdAt,
- int? updatedAt,
})
Implementation
PaymentBillingInfo copyWith({
String? billingName,
String? street,
String? zip,
String? city,
String? state,
String? country,
String? countryCode,
String? companyName,
String? vat,
String? companyNumber,
String? currency,
int? id,
int? isDefault,
int? createdAt,
int? updatedAt,
}) =>
PaymentBillingInfo(
billingName: billingName ?? this.billingName,
street: street ?? this.street,
zip: zip ?? this.zip,
city: city ?? this.city,
state: state ?? this.state,
country: country ?? this.country,
countryCode: countryCode ?? this.countryCode,
companyName: companyName ?? this.companyName,
vat: vat ?? this.vat,
companyNumber: companyNumber ?? this.companyNumber,
currency: currency ?? this.currency,
id: id ?? this.id,
isDefault: isDefault ?? this.isDefault,
createdAt: createdAt ?? this.createdAt,
updatedAt: updatedAt ?? this.updatedAt,
);