# BarcodeFormatMsiPlesseyConfiguration.fromJson constructor

BarcodeFormatMsiPlesseyConfiguration.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory BarcodeFormatMsiPlesseyConfiguration.fromJson(
            Map<String, dynamic> json) =>
        BarcodeFormatMsiPlesseyConfiguration(
          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,
          checksumAlgorithms: json.containsKey("checksumAlgorithms")
              ? (json["checksumAlgorithms"] as List<dynamic>)
                  .map((it) =>
                      MsiPlesseyChecksumAlgorithm.values.byName(it as String))
                  .toList()
              : [MsiPlesseyChecksumAlgorithm.MOD_10],
        );