InvoiceListModel.fromMap constructor
Implementation
factory InvoiceListModel.fromMap(Map<String, dynamic> map) {
return InvoiceListModel(
facets: Facets.fromMap(map['facets']),
totalItems: map['totalItems'],
items: List<InvoiceModel>.from(map['items']?.map((x) => InvoiceModel.fromMap(x))),
);
}