InviteResult class
Result of inviting one or more users to a room.
A successful HTTP call does NOT mean every user was added: the backend
returns 207 Multi-Status when some users succeed and others fail (e.g.
banned, already a member). Inspect failed / hasFailures for the
per-user breakdown instead of assuming success. When every user is added
the backend answers 204 No Content and all results are successes; when
every user fails it answers a non-2xx status, surfaced as a
ChatFailureResult rather than an InviteResult.
Constructors
-
InviteResult(List<
InviteUserResult> results) -
const
Properties
- allSucceeded → bool
-
no setter
-
failed
→ List<
InviteUserResult> -
no setter
- hasFailures → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
results
→ List<
InviteUserResult> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
succeeded
→ List<
InviteUserResult> -
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited