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