fromMap static method
Implementation
static InvoicePdfPdf? fromMap(Object? body) {
final source = readRecord(body);
if (source == null) return null;
return InvoicePdfPdf(
object: readText(source['object']),
id: readText(source['id']),
previewUrl: readText(source['preview_url']),
downloadUrl: readText(source['download_url']),
fileSize: readInteger(source['file_size']),
);
}