CustomerInformationInterpretingType.fromJson constructor

CustomerInformationInterpretingType.fromJson(
  1. dynamic data
)

Creates a CustomerInformationInterpretingType instance from a JSON representation.

Implementation

CustomerInformationInterpretingType.fromJson(dynamic data) {
  switch (data) {
    case "CTable":
    case "NTable":
    case "Other":
      _value = data;
      break;
    default:
      throw Exception('Unknown enum value to decode: $data');
  }
}