Response class
The success response to a vtc/groups/join/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/groups/join/0.1#response.
Constructors
- Response({required GroupId groupId, required ResponseOutcome outcome, GroupMember? member, GroupJoinRequest? request, required Object? credentialId, Ext? ext})
-
const
-
Response.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- credentialId → Object?
-
The membership credential offered, or null when the group issues none or the
outcome is
requested.final - ext → Ext?
-
final
- groupId → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- member → GroupMember?
-
Present when
outcomeisjoined.final - outcome → ResponseOutcome
-
joined: a member now.requested: a request awaits a manager.optOutWithdrawn: the caller's opt-out of a dynamic group is undone, but its rule does not admit them now; they become a member when it does.final - request → GroupJoinRequest?
-
Present when
outcomeisrequested.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(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited