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