DocumentVerificationReport.fromJson constructor

DocumentVerificationReport.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DocumentVerificationReport.fromJson(Map<String, dynamic> json) =>
    DocumentVerificationReport(
      overallVerificationStatus: DocumentVerificationStatus.values
          .byName(json["overallVerificationStatus"] as String),
      consistencyVerificationReport: ConsistencyVerificationReport.fromJson(
          json["consistencyVerificationReport"] as Map<String, dynamic>),
      semanticsVerificationReport: SemanticsVerificationReport.fromJson(
          json["semanticsVerificationReport"] as Map<String, dynamic>),
      suspiciousDataVerificationReport:
          SuspiciousDataVerificationReport.fromJson(
              json["suspiciousDataVerificationReport"]
                  as Map<String, dynamic>),
      invalidDataVerificationReport: InvalidDataVerificationReport.fromJson(
          json["invalidDataVerificationReport"] as Map<String, dynamic>),
    );