CodabarChecksumMode.fromJson constructor
CodabarChecksumMode.fromJson(
- dynamic data
Implementation
CodabarChecksumMode.fromJson(dynamic data) {
switch (data) {
case "Mod10":
value = data;
break;
case "Mod16":
value = data;
break;
default:
throw Exception('Unknown enum value to decode: $data');
}
}