AttestationToken class

The attestation token spent on one attestation: the label it was drawn under, the serial its spend reveals, and its re-randomised signature. The same members as token in vetting/attestation/0.1.

Constructors

AttestationToken({required String label, required Multibase serial, required Multibase shown})
const
AttestationToken.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
label → String
The token label spent under.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serial → String
The serial revealed by the spend.
final
shown → String
The re-randomised token signature, verifiable under the published token key.
final

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() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited