fromMap static method

InvoiceNoteFileEntry? fromMap(
  1. Object? body
)

Implementation

static InvoiceNoteFileEntry? fromMap(Object? body) {
  final source = readRecord(body);
  if (source == null) return null;
  return InvoiceNoteFileEntry(
    uuid: readText(source['uuid']),
    filename: readText(source['filename']),
    contentType: readText(source['content_type']),
    size: readInteger(source['size']),
    href: readText(source['href']),
  );
}