CodabarSymbol.fromJson constructor
CodabarSymbol.fromJson(
- dynamic data
Implementation
CodabarSymbol.fromJson(dynamic data) {
switch (data) {
case "A":
value = data;
break;
case "B":
value = data;
break;
case "C":
value = data;
break;
case "D":
value = data;
break;
default:
throw Exception('Unknown enum value to decode: $data');
}
}