JoinRequest class
One application to join a Verifiable Trust Community.
Constructors
-
JoinRequest({required String id, required String applicantDid, required Map<
String, dynamic> vp, Map<String, dynamic> ? vpClaims, required String submittedAt, required JoinRequestStatus status, Map<String, dynamic> ? policyDecision, JoinRequestDecision? decision, bool? registryConsent, Map<String, dynamic> ? extensions, List<JoinRequestAttributesItem> ? attributes}) -
const
-
JoinRequest.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- applicantDid → String
-
DID of the applicant.
final
-
attributes
→ List<
JoinRequestAttributesItem> ? -
What the applicant told the community about themselves in answer to the manifest's
requestedAttributes— self-asserted, and to be shown as such to whoever reviews the request. Absent when none were asked for or given.final - decision → JoinRequestDecision?
-
Why this request was refused, in terms meant for the applicant rather than the
operator.
nullunless the request was rejected. Distinct frompolicyDecision, which records the community's internal verdict: both rejection paths — a policy auto-deny at submit and an admin's later refusal — write this one, so a client reads a single shape instead of reconciling two.final -
extensions
→ Map<
String, dynamic> ? -
Opaque community-defined extension bag.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Stable id of this join request (a UUID).
final
-
policyDecision
→ Map<
String, dynamic> ? -
The community policy verdict recorded for this request (opaque here); absent while
pending.
final
- registryConsent → bool?
-
Whether the applicant consented to trust-registry publication.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → JoinRequestStatus
-
final
- submittedAt → String
-
final
-
vp
→ Map<
String, dynamic> -
The W3C Verifiable Presentation the applicant submitted (opaque here).
final
-
vpClaims
→ Map<
String, dynamic> ? -
Canonical projection of
vp, extracted when the request was submitted and used as the input the community's join policy reads. Carried on the row so an approval does not have to re-extract it, and opaque here: its members are whatever the community's policy asks of an applicant.nullon a request recorded before a community began extracting one.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