JoinRequestDecision class
Why this request was refused, in terms meant for the applicant rather than the
operator. null unless the request was rejected. Distinct from policyDecision,
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.
Constructors
- JoinRequestDecision({required String code, String? reason, required String decidedAt})
-
const
-
JoinRequestDecision.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- code → String
-
Stable refusal code, safe to branch on.
final
- decidedAt → String
-
When the decision was taken — not when the poll answering it was produced. On an
admin refusal the two diverge by however long the applicant takes to ask.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- reason → String?
-
Elaboration in prose, when the decider gave one.
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