# CheckScanningResult.fromJson constructor

CheckScanningResult.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory CheckScanningResult.fromJson(Map<String, dynamic> json) =>
        CheckScanningResult(
          status: json.containsKey("status")
              ? CheckMagneticInkStripScanningStatus.values
                  .byName(json["status"] as String)
              : CheckMagneticInkStripScanningStatus.ERROR_NOTHING_FOUND,
          check: (json["check"] != null
              ? GenericDocument.fromJson(json["check"] as Map<String, dynamic>)
              : null),
          documentDetectionResult: (json["documentDetectionResult"] != null
              ? DocumentDetectionResult.fromJson(
                  json["documentDetectionResult"] as Map<String, dynamic>)
              : null),
          croppedImage: json.containsKey("croppedImage")
              ? (json["croppedImage"] != null
                  ? ImageRef.fromJson(
                      json["croppedImage"] as Map<String, dynamic>)
                  : null)
              : null,
        );