ClientOAuth2Application class Null safety

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

Inheritance

Properties

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

Methods

getInviteUrl([int permissions = 0]) 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