RevocationReceipt class
The receipt for a successful revocation. Consumers MUST report the family's
alreadyRevoked / already_revoked error when the credential was already revoked,
rather than returning a second receipt silently — the caller has to be able to
distinguish "I revoked it now" from "it was already gone". The counterpart to
IssuedCredential: both concern a credential's lifecycle at its issuer.
Constructors
- RevocationReceipt({required CredentialId credentialId, required String revokedAt})
-
const
-
RevocationReceipt.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- credentialId → CredentialId
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- revokedAt → CredentialId
-
When the revocation was recorded.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize to a JSON-encodable map, omitting absent members.
-
toString(
) → CredentialId -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited