# BarcodeFormatOneDConfigurationBase.fromJson constructor

BarcodeFormatOneDConfigurationBase.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory BarcodeFormatOneDConfigurationBase.fromJson(
        Map<String, dynamic> json) {
      String _type = json["_type"];
      switch (_type) {
        case "BarcodeFormatCodabarConfiguration":
          return BarcodeFormatCodabarConfiguration.fromJson(json);
        case "BarcodeFormatCode11Configuration":
          return BarcodeFormatCode11Configuration.fromJson(json);
        case "BarcodeFormatCode39Configuration":
          return BarcodeFormatCode39Configuration.fromJson(json);
        case "BarcodeFormatCode93Configuration":
          return BarcodeFormatCode93Configuration.fromJson(json);
        case "BarcodeFormatCode128Configuration":
          return BarcodeFormatCode128Configuration.fromJson(json);
        case "BarcodeFormatCode2Of5Configuration":
          return BarcodeFormatCode2Of5Configuration.fromJson(json);
        case "BarcodeFormatDataBarConfiguration":
          return BarcodeFormatDataBarConfiguration.fromJson(json);
        case "BarcodeFormatDataBarExpandedConfiguration":
          return BarcodeFormatDataBarExpandedConfiguration.fromJson(json);
        case "BarcodeFormatDataBarLimitedConfiguration":
          return BarcodeFormatDataBarLimitedConfiguration.fromJson(json);
        case "BarcodeFormatITFConfiguration":
          return BarcodeFormatItfConfiguration.fromJson(json);
        case "BarcodeFormatMSIPlesseyConfiguration":
          return BarcodeFormatMsiPlesseyConfiguration.fromJson(json);
        case "BarcodeFormatUpcEanConfiguration":
          return BarcodeFormatUpcEanConfiguration.fromJson(json);
        case "BarcodeFormatPharmaCodeConfiguration":
          return BarcodeFormatPharmaCodeConfiguration.fromJson(json);
        default:
          throw ArgumentError("Invalid polymorphic type: $_type");
      }
    }