fromMap static method

InvoiceNoteFileList? fromMap(
  1. Object? body
)

Implementation

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