Connection class
A link to an account on a service other than Discord.
External references:
- Discord API Reference: https://discord.com/developers/docs/resources/user#connection-object
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The ID of the account on the target service.
final
-
integrations
→ List<
PartialIntegration> ? -
A list of integrations associated with this connection.
final
- isFriendSyncEnabled → bool
-
Whether friend sync is enabled for this connection.
final
- isRevoked → bool?
-
Whether the connection is revoked.
final
- isTwoWayLink → bool
-
Whether the connection has a corresponding third party OAuth2 token.
final
- isVerified → bool
-
Whether the connection is verified.
final
- name → String
-
The username of the account on the target service.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showActivity → bool
-
Whether activities related to this connection will be shown in presence updates.
final
- type → ConnectionType
-
The type of connection.
final
- visibility → ConnectionVisibility
-
The visibility of this connection.
final
Methods
-
defaultToString(
) → String -
Same as toString, but only called when dart:mirrors is not available.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited