# MrzScannerResult.fromJson constructor

MrzScannerResult.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory MrzScannerResult.fromJson(Map<String, dynamic> json) =>
        MrzScannerResult(
          success:
              json.containsKey("success") ? (json["success"] as bool) : false,
          rawMRZ: json["rawMRZ"] as String,
          document: (json["document"] != null
              ? GenericDocument.fromJson(json["document"] as Map<String, dynamic>)
              : null),
        );