fromMap static method

Implementation

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