# TwoLineMrzFinderLayoutPreset.fromJson constructor

TwoLineMrzFinderLayoutPreset.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory TwoLineMrzFinderLayoutPreset.fromJson(Map<String, dynamic> json) =>
        TwoLineMrzFinderLayoutPreset(
          mrzTextLine1: json.containsKey("mrzTextLine1")
              ? json["mrzTextLine1"] as String
              : "I<USASMITH<<JACK<<<<<<<<<<<<<<<<<<<<",
          mrzTextLine2: json.containsKey("mrzTextLine2")
              ? json["mrzTextLine2"] as String
              : "2342353464USA9602300M2904076<<<<<<<2",
          adjustedFinderAspectRatio: json.containsKey("adjustedFinderAspectRatio")
              ? (json["adjustedFinderAspectRatio"] as num).toDouble()
              : 5.390625,
        );