# BarcodeFormatQrCodeConfiguration.fromJson constructor

BarcodeFormatQrCodeConfiguration.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory BarcodeFormatQrCodeConfiguration.fromJson(
            Map<String, dynamic> json) =>
        BarcodeFormatQrCodeConfiguration(
          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,
          gs1Handling: json.containsKey("gs1Handling")
              ? Gs1Handling.values.byName(json["gs1Handling"] as String)
              : Gs1Handling.PARSE,
          strictMode: json.containsKey("strictMode")
              ? (json["strictMode"] as bool)
              : true,
          qr: json.containsKey("qr") ? (json["qr"] as bool) : true,
          microQr:
              json.containsKey("microQr") ? (json["microQr"] as bool) : false,
          rmqr: json.containsKey("rmqr") ? (json["rmqr"] as bool) : false,
        );