RevocationReceipt.fromJson constructor

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

Read this payload from a decoded JSON object.

Implementation

factory RevocationReceipt.fromJson(Map<String, dynamic> json) =>
    RevocationReceipt(
      credentialId: json['credentialId'] as String,
      revokedAt: json['revokedAt'] as String,
    );