fromString static method
Implementation
static FormType? fromString(String? value) {
switch (value) {
case 'cn22':
return cn22;
case 'cod_return_label':
return codReturnLabel;
case 'commercial_invoice':
return commercialInvoice;
case 'high_value_report':
return highValueReport;
case 'label_qr_code':
return labelQrCode;
case 'nafta_certificate_of_origin':
return naftaCertificateOfOrigin;
case 'order_summary':
return orderSummary;
case 'return_packing_slip':
return returnPackingSlip;
case 'rma_qr_code':
return rmaQrCode;
default:
return null;
}
}