DataIntegrityProof.fromJson constructor

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

Read this payload from a decoded JSON object.

Implementation

factory DataIntegrityProof.fromJson(Map<String, dynamic> json) =>
    DataIntegrityProof(
      type: json['type'],
      cryptosuite: json['cryptosuite'] as String,
      verificationMethod: json['verificationMethod'] as String,
      created: json['created'] as String?,
      proofPurpose: json['proofPurpose'],
      proofValue: json['proofValue'] as String,
    );