DataMatrixEncodeMode.fromJson constructor
DataMatrixEncodeMode.fromJson(
- dynamic data
Implementation
DataMatrixEncodeMode.fromJson(dynamic data) {
switch (data) {
case "Auto":
value = data;
break;
case "ASCII":
value = data;
break;
case "Full":
value = data;
break;
case "Custom":
value = data;
break;
case "C40":
value = data;
break;
case "Text":
value = data;
break;
case "EDIFACT":
value = data;
break;
case "ANSIX12":
value = data;
break;
case "ExtendedCodetext":
value = data;
break;
default:
throw Exception('Unknown enum value to decode: $data');
}
}