Constants class

The client constants.

Constructors

Constants()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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

Static Methods

gatewayUri(String gatewayHost) Uri
Returns Uri to gateway

Constants

baseUri → const String
Base API uri
"/api/v7"
cdnHost → const String
Discord CDN host
"discordapp.com"
host → const String
Discord API host
"discord.com"
repoUrl → const String
Url to Nyxx repo
"https://github.com/l7ssha/nyxx"
version → const String
Version of Nyxx
"1.0.0"