# BarcodeFormatConfigurationBase.fromJson constructor

BarcodeFormatConfigurationBase.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory BarcodeFormatConfigurationBase.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);
        case "BarcodeFormatAztecConfiguration":
          return BarcodeFormatAztecConfiguration.fromJson(json);
        case "BarcodeFormatQRCodeConfiguration":
          return BarcodeFormatQrCodeConfiguration.fromJson(json);
        case "BarcodeFormatPDF417Configuration":
          return BarcodeFormatPdf417Configuration.fromJson(json);
        case "BarcodeFormatMicroPDF417Configuration":
          return BarcodeFormatMicroPdf417Configuration.fromJson(json);
        case "BarcodeFormatDataMatrixConfiguration":
          return BarcodeFormatDataMatrixConfiguration.fromJson(json);
        case "BarcodeFormatMaxiCodeConfiguration":
          return BarcodeFormatMaxiCodeConfiguration.fromJson(json);
        case "BarcodeFormatAustraliaPostConfiguration":
          return BarcodeFormatAustraliaPostConfiguration.fromJson(json);
        case "BarcodeFormatJapanPostConfiguration":
          return BarcodeFormatJapanPostConfiguration.fromJson(json);
        case "BarcodeFormatRoyalMailConfiguration":
          return BarcodeFormatRoyalMailConfiguration.fromJson(json);
        case "BarcodeFormatRoyalTNTPostConfiguration":
          return BarcodeFormatRoyalTntPostConfiguration.fromJson(json);
        case "BarcodeFormatUSPSIntelligentMailConfiguration":
          return BarcodeFormatUspsIntelligentMailConfiguration.fromJson(json);
        case "BarcodeFormatPharmaCodeTwoTrackConfiguration":
          return BarcodeFormatPharmaCodeTwoTrackConfiguration.fromJson(json);
        case "BarcodeFormatGS1CompositeConfiguration":
          return BarcodeFormatGs1CompositeConfiguration.fromJson(json);
        case "BarcodeFormatCommonOneDConfiguration":
          return BarcodeFormatCommonOneDConfiguration.fromJson(json);
        case "BarcodeFormatCommonTwoDConfiguration":
          return BarcodeFormatCommonTwoDConfiguration.fromJson(json);
        case "BarcodeFormatCommonFourStateConfiguration":
          return BarcodeFormatCommonFourStateConfiguration.fromJson(json);
        case "BarcodeFormatCommonConfiguration":
          return BarcodeFormatCommonConfiguration.fromJson(json);
        default:
          throw ArgumentError("Invalid polymorphic type: $_type");
      }
    }