# BarcodeFormatCode39Configuration.fromJson constructor

BarcodeFormatCode39Configuration.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory BarcodeFormatCode39Configuration.fromJson(
            Map<String, dynamic> json) =>
        BarcodeFormatCode39Configuration(
          regexFilter: json.containsKey("regexFilter")
              ? json["regexFilter"] as String
              : "",
          minimumSizeScore: json.containsKey("minimumSizeScore")
              ? (json["minimumSizeScore"] as num).toDouble()
              : 0.0,
          addAdditionalQuietZone: json.containsKey("addAdditionalQuietZone")
              ? (json["addAdditionalQuietZone"] as bool)
              : false,
          minimum1DQuietZoneSize: json.containsKey("minimum1DQuietZoneSize")
              ? (json["minimum1DQuietZoneSize"] as int)
              : 6,
          stripCheckDigits: json.containsKey("stripCheckDigits")
              ? (json["stripCheckDigits"] as bool)
              : false,
          minimumTextLength: json.containsKey("minimumTextLength")
              ? (json["minimumTextLength"] as int)
              : 1,
          maximumTextLength: json.containsKey("maximumTextLength")
              ? (json["maximumTextLength"] as int)
              : 0,
          code32: json.containsKey("code32") ? (json["code32"] as bool) : false,
          code39: json.containsKey("code39") ? (json["code39"] as bool) : true,
          pzn7: json.containsKey("pzn7") ? (json["pzn7"] as bool) : true,
          pzn8: json.containsKey("pzn8") ? (json["pzn8"] as bool) : true,
          tryCode39ExtendedMode: json.containsKey("tryCode39ExtendedMode")
              ? (json["tryCode39ExtendedMode"] as bool)
              : false,
          useCode39CheckDigit: json.containsKey("useCode39CheckDigit")
              ? (json["useCode39CheckDigit"] as bool)
              : false,
        );