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