Pdf417MacroTerminator.fromJson constructor

Pdf417MacroTerminator.fromJson(
  1. dynamic data
)

Implementation

Pdf417MacroTerminator.fromJson(dynamic data) {
  switch (data) {
    case "Auto":
      value = data;
      break;
    case "None":
      value = data;
      break;
    case "Set":
      value = data;
      break;
    default:
      throw Exception('Unknown enum value to decode: $data');
  }
}