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