SemanticsVerificationReport.fromJson constructor

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

Implementation

factory SemanticsVerificationReport.fromJson(Map<String, dynamic> json) =>
    SemanticsVerificationReport(
      overallInvalidSemantics: (json["overallInvalidSemantics"] as bool),
      expiryDateSemantics: CompositeFieldValueSemantics.fromJson(
          json["expiryDateSemantics"] as Map<String, dynamic>),
      issueDateSemantics: CompositeFieldValueSemantics.fromJson(
          json["issueDateSemantics"] as Map<String, dynamic>),
      birthDateSemantics: CompositeFieldValueSemantics.fromJson(
          json["birthDateSemantics"] as Map<String, dynamic>),
      issueDateBeforeExpiryDate: ValueSemantics.values
          .byName(json["issueDateBeforeExpiryDate"] as String),
      birthDateBeforeIssueDate: ValueSemantics.values
          .byName(json["birthDateBeforeIssueDate"] as String),
      birthDateBeforeExpiryDate: ValueSemantics.values
          .byName(json["birthDateBeforeExpiryDate"] as String),
    );