Constants class Null safety
The client constants.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
Constants
- apiVersion → const int
-
Version of API
10
- baseUri → const String
-
Base API uri
"/api/v$apiVersion"
- cdnHost → const String
-
Discord CDN host
"discordapp.com"
- cdnUrl → const String
-
Url for cdn host
"https://cdn.${Constants.cdnHost}"
- host → const String
-
Discord API host
"discord.com"
- repoUrl → const String
-
Url to Nyxx repo
"https://github.com/nyxx-discord/nyxx"
- version → const String
-
Version of Nyxx
"5.0.1"