copyWith method
Implementation
InvoiceDuplicateRequestMessage copyWith({
String? newDueDate,
List<Item>? invoiceItems,
bool? ignoreDueEmail,
bool? ignoreCanceledEmail,
}) {
return InvoiceDuplicateRequestMessage(
newDueDate: newDueDate ?? this.newDueDate,
invoiceItems: invoiceItems ?? this.invoiceItems,
ignoreDueEmail: ignoreDueEmail ?? this.ignoreDueEmail,
ignoreCanceledEmail: ignoreCanceledEmail ?? this.ignoreCanceledEmail,
);
}