AztecSymbolMode.fromJson constructor
AztecSymbolMode.fromJson(
- dynamic data
Creates a AztecSymbolMode instance from a JSON representation.
Implementation
AztecSymbolMode.fromJson(dynamic data) {
switch (data) {
case "Auto":
case "Compact":
case "FullRange":
case "Rune":
_value = data;
break;
default:
throw Exception('Unknown enum value to decode: $data');
}
}