copyWith method
Implementation
InvoiceListModel copyWith({
Facets? facets,
int? totalItems,
List<InvoiceModel>? items,
}) {
return InvoiceListModel(
facets: facets ?? this.facets,
totalItems: totalItems ?? this.totalItems,
items: items ?? this.items,
);
}