# DocumentDataExtractionResult.fromJson constructor

DocumentDataExtractionResult.fromJson(

1. Map<String, dynamic> json

)

## Implementation

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