copyWith method
Items
copyWith(
{ - String? id,
- String? description,
- String? scheduledDate,
- String? invoiceId,
- String? customerRef,
- String? total,
- String? taxes,
- String? clientShare,
- String? commission,
- String? numberOfInstallments,
- String? installment,
})
Implementation
Items copyWith({
String? id,
String? description,
String? scheduledDate,
String? invoiceId,
String? customerRef,
String? total,
String? taxes,
String? clientShare,
String? commission,
String? numberOfInstallments,
String? installment,
}) {
return Items(
id: id ?? this.id,
description: description ?? this.description,
scheduledDate: scheduledDate ?? this.scheduledDate,
invoiceId: invoiceId ?? this.invoiceId,
customerRef: customerRef ?? this.customerRef,
total: total ?? this.total,
taxes: taxes ?? this.taxes,
clientShare: clientShare ?? this.clientShare,
commission: commission ?? this.commission,
numberOfInstallments: numberOfInstallments ?? this.numberOfInstallments,
installment: installment ?? this.installment,
);
}