AztecSymbolMode.fromJson constructor

AztecSymbolMode.fromJson(
  1. dynamic data
)

Implementation

AztecSymbolMode.fromJson(dynamic data) {
  switch (data) {
    case "Auto":
      value = data;
      break;
    case "Compact":
      value = data;
      break;
    case "FullRange":
      value = data;
      break;
    case "Rune":
      value = data;
      break;
    default:
      throw Exception('Unknown enum value to decode: $data');
  }
}