ConsistencyVerificationReport.fromJson constructor

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

Implementation

factory ConsistencyVerificationReport.fromJson(Map<String, dynamic> json) =>
    ConsistencyVerificationReport(
      overallConsistency: ValueConsistency.values
          .byName(json["overallConsistency"] as String),
      fieldDetails: (json["fieldDetails"] as List<dynamic>)
          .map((it) => FieldConsistencyVerificationReport.fromJson(
              it as Map<String, dynamic>))
          .toList(),
    );