ConnectionType enum
The type of a connection.
External references:
- Discord API Reference: https://discord.com/developers/docs/resources/user#connection-object-services
Constructors
- ConnectionType.parse(String value)
-
Parse a string to a ConnectionType.
factory
Values
- battleNet → const ConnectionType
-
const ConnectionType._('battlenet', 'Battle.net')
- bungieNet → const ConnectionType
-
const ConnectionType._('bungie', 'Bungie.net')
- domain → const ConnectionType
-
const ConnectionType._('domain', 'Domain')
- ebay → const ConnectionType
-
const ConnectionType._('ebay', 'eBay')
- epicGames → const ConnectionType
-
const ConnectionType._('epicgames', 'Epic Games')
- facebook → const ConnectionType
-
const ConnectionType._('facebook', 'Facebook')
- github → const ConnectionType
-
const ConnectionType._('github', 'GitHub')
- instagram → const ConnectionType
-
const ConnectionType._('instagram', 'Instagram')
- leagueOfLegends → const ConnectionType
-
const ConnectionType._('leagueoflegends', 'League of Legends')
- paypal → const ConnectionType
-
const ConnectionType._('paypal', 'PayPal')
- playstation → const ConnectionType
-
const ConnectionType._('playstation', 'PlayStation Network')
- reddit → const ConnectionType
-
const ConnectionType._('reddit', 'Reddit')
- riotGames → const ConnectionType
-
const ConnectionType._('riotgames', 'Riot Games')
- roblox → const ConnectionType
-
const ConnectionType._('roblox', 'ROBLOX')
- spotify → const ConnectionType
-
const ConnectionType._('spotify', 'Spotify')
- skype → const ConnectionType
-
const ConnectionType._('skype', 'Skype')
- steam → const ConnectionType
-
const ConnectionType._('steam', 'Steam')
- tikTok → const ConnectionType
-
const ConnectionType._('tiktok', 'TikTok')
- twitch → const ConnectionType
-
const ConnectionType._('twitch', 'Twitch')
- twitter → const ConnectionType
-
const ConnectionType._('twitter', 'Twitter')
- xbox → const ConnectionType
-
const ConnectionType._('xbox', 'Xbox')
- youtube → const ConnectionType
-
const ConnectionType._('youtube', 'YouTube')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
A human-readable name for this connection type.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The value of this connection type.
final
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
Constants
-
values
→ const List<
ConnectionType> - A constant List of the values in this enum, in order of their declaration.