ClientOAuth2Application class Null safety

The client's OAuth2 app, if the client is a bot.

Inheritance

Properties

client Nyxx
Reference to Nyxx
final
createdAt DateTime
Gets creation timestamp included in Snowflake
read-only, inherited
description String
The app's description.
late, final, inherited
flags int?
The app's flags.
late, final
hashCode int
The hash code for this object. [...]
read-only, inherited
icon String?
The app's icon hash.
late, final, inherited
id Snowflake
ID of entity as Snowflake
final, inherited
name String
The app's name.
late, final, inherited
owner User
The app's owner.
late, final
rpcOrigins List<String>?
The app's RPC origins.
late, final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getInviteUrl([int? permissions]) String
Creates an OAuth2 URL with the specified permissions.
iconUrl({String format = "png", int size = 512}) String?
Returns url to apps icon
inherited
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 ==(dynamic other) bool
The equality operator. [...]
inherited