# LicensePlateScannerConfiguration.fromJson constructor

LicensePlateScannerConfiguration.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory LicensePlateScannerConfiguration.fromJson(
            Map<String, dynamic> json) =>
        LicensePlateScannerConfiguration(
          maximumNumberOfAccumulatedFrames:
              json.containsKey("maximumNumberOfAccumulatedFrames")
                  ? (json["maximumNumberOfAccumulatedFrames"] as int)
                  : 3,
          minimumNumberOfRequiredFramesWithEqualScanningResult: json.containsKey(
                  "minimumNumberOfRequiredFramesWithEqualScanningResult")
              ? (json["minimumNumberOfRequiredFramesWithEqualScanningResult"]
                  as int)
              : 2,
          scannerStrategy: json.containsKey("scannerStrategy")
              ? LicensePlateScannerStrategy.values
                  .byName(json["scannerStrategy"] as String)
              : LicensePlateScannerStrategy.ML,
        );