toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'report': _encodeValidationReport(report),
    'trustResolutionBySignature': trustResolutionBySignature
        .map((e) => e.toJson())
        .toList(growable: false),
    'revocationEvidence':
        revocationEvidence.map((e) => e.toJson()).toList(growable: false),
    'policyResolver':
        policyResolver.map((e) => e.toJson()).toList(growable: false),
    'docMdpEvaluation': docMdpEvaluation.toJson(),
  };
}