StatementMeta class
What a Vetting Statement would have said, minus its issuer.
Constructors
-
StatementMeta({required String community, required String requirementsDigest, required StatementMetaMethod method, required List<
String> claimsVerified, required bool livenessConfirmed, required StatementMetaDeclaredRelationship declaredRelationship, required String identityCommitment, required String cardDigestMultibase, required String validFrom, required String validUntil, required String tokenLabel, required String tokenSerial}) -
const
-
StatementMeta.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- cardDigestMultibase → String
-
Digest of that card, as the vetter verified it.
final
-
claimsVerified
→ List<
String> -
The claim types the vetter checked.
final
- community → String
-
The community this attestation is for. An attestation is not portable between
communities.
final
- declaredRelationship → StatementMetaDeclaredRelationship
-
The relationship the vetter declared, which the community's independence rules
count.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- identityCommitment → String
-
The commitment on the Vetting Card the applicant showed. Consistency across
attestations is what stops two applicants pooling them.
final
- livenessConfirmed → bool
-
Whether the vetter confirmed a live person.
final
- method → StatementMetaMethod
-
How the vetter met the applicant.
final
- requirementsDigest → String
-
The digest of the criterion's requirements as the vetter read them.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tokenLabel → String
-
The token label spent, repeated inside the bound facts so it cannot be swapped in
transit.
final
- tokenSerial → String
-
The token serial spent, likewise bound.
final
- validFrom → String
-
A DATE, never a timestamp: an exact time would let a community line an attestation
up with a vetter's activity, which undoes the proof without touching it.
final
- validUntil → String
-
A date, for the same reason.
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