DataMatrixVersion.fromJson constructor
DataMatrixVersion.fromJson(
- dynamic data
Implementation
DataMatrixVersion.fromJson(dynamic data) {
switch (data) {
case "Auto":
value = data;
break;
case "RowsColumns":
value = data;
break;
case "ECC000_9x9":
value = data;
break;
case "ECC000_050_11x11":
value = data;
break;
case "ECC000_100_13x13":
value = data;
break;
case "ECC000_100_15x15":
value = data;
break;
case "ECC000_140_17x17":
value = data;
break;
case "ECC000_140_19x19":
value = data;
break;
case "ECC000_140_21x21":
value = data;
break;
case "ECC000_140_23x23":
value = data;
break;
case "ECC000_140_25x25":
value = data;
break;
case "ECC000_140_27x27":
value = data;
break;
case "ECC000_140_29x29":
value = data;
break;
case "ECC000_140_31x31":
value = data;
break;
case "ECC000_140_33x33":
value = data;
break;
case "ECC000_140_35x35":
value = data;
break;
case "ECC000_140_37x37":
value = data;
break;
case "ECC000_140_39x39":
value = data;
break;
case "ECC000_140_41x41":
value = data;
break;
case "ECC000_140_43x43":
value = data;
break;
case "ECC000_140_45x45":
value = data;
break;
case "ECC000_140_47x47":
value = data;
break;
case "ECC000_140_49x49":
value = data;
break;
case "ECC200_10x10":
value = data;
break;
case "ECC200_12x12":
value = data;
break;
case "ECC200_14x14":
value = data;
break;
case "ECC200_16x16":
value = data;
break;
case "ECC200_18x18":
value = data;
break;
case "ECC200_20x20":
value = data;
break;
case "ECC200_22x22":
value = data;
break;
case "ECC200_24x24":
value = data;
break;
case "ECC200_26x26":
value = data;
break;
case "ECC200_32x32":
value = data;
break;
case "ECC200_36x36":
value = data;
break;
case "ECC200_40x40":
value = data;
break;
case "ECC200_44x44":
value = data;
break;
case "ECC200_48x48":
value = data;
break;
case "ECC200_52x52":
value = data;
break;
case "ECC200_64x64":
value = data;
break;
case "ECC200_72x72":
value = data;
break;
case "ECC200_80x80":
value = data;
break;
case "ECC200_88x88":
value = data;
break;
case "ECC200_96x96":
value = data;
break;
case "ECC200_104x104":
value = data;
break;
case "ECC200_120x120":
value = data;
break;
case "ECC200_132x132":
value = data;
break;
case "ECC200_144x144":
value = data;
break;
case "ECC200_8x18":
value = data;
break;
case "ECC200_8x32":
value = data;
break;
case "ECC200_12x26":
value = data;
break;
case "ECC200_12x36":
value = data;
break;
case "ECC200_16x36":
value = data;
break;
case "ECC200_16x48":
value = data;
break;
case "DMRE_8x48":
value = data;
break;
case "DMRE_8x64":
value = data;
break;
case "DMRE_8x80":
value = data;
break;
case "DMRE_8x96":
value = data;
break;
case "DMRE_8x120":
value = data;
break;
case "DMRE_8x144":
value = data;
break;
case "DMRE_12x64":
value = data;
break;
case "DMRE_12x88":
value = data;
break;
case "DMRE_16x64":
value = data;
break;
case "DMRE_20x36":
value = data;
break;
case "DMRE_20x44":
value = data;
break;
case "DMRE_20x64":
value = data;
break;
case "DMRE_22x48":
value = data;
break;
case "DMRE_24x48":
value = data;
break;
case "DMRE_24x64":
value = data;
break;
case "DMRE_26x40":
value = data;
break;
case "DMRE_26x48":
value = data;
break;
case "DMRE_26x64":
value = data;
break;
default:
throw Exception('Unknown enum value to decode: $data');
}
}