DiscordConnection class

Constructors

DiscordConnection({required String id, required String name, required String type, bool? revoked, List<DiscordIntegration>? integrations, required bool verified, required bool friendSync, required bool showActivity, required int visibility})
DiscordConnection.fromJson(Map<String, dynamic> json)
factory

Properties

friendSync bool
whether friend sync is enabled for this connection
final
hashCode int
The hash code for this object.
no setterinherited
id String
id of the connection account
final
integrations List<DiscordIntegration>?
an array of partial server integrations
final
name String
the username of the connection account
final
revoked bool?
whether the connection is revoked
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 String
the service of the connection (twitch, youtube)
final
verified bool
whether the connection is verified
final
visibility int
visibility of this connection
final
visibilityAsEnum → DiscordVisibilityType
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

friendSyncEntry → const String
idEntry → const String
integrationsEntry → const String
nameEntry → const String
revokedEntry → const String
showActivityEntry → const String
typeEntry → const String
verifiedEntry → const String
visibilityEntry → const String