copyWith method

InvoiceDuplicateRequestMessage copyWith({
  1. String? newDueDate,
  2. List<Item>? invoiceItems,
  3. bool? ignoreDueEmail,
  4. bool? ignoreCanceledEmail,
})

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,
  );
}