fromMap static method
Implementation
static InvoiceList? fromMap(Object? body) {
final source = readRecord(body);
if (source == null) return null;
return InvoiceList(
data: readList<Invoice>(source['data'], Invoice.fromMap),
pagination: Pagination.fromMap(source['pagination']),
object: readText(source['object']),
url: readText(source['url']),
);
}