DiscordAuthorizationInformation class
Constructors
-
DiscordAuthorizationInformation({required DiscordApplication application, required List<
String> scopes, required DateTime expiresAt, DiscordUser? user}) -
DiscordAuthorizationInformation.fromJson(Map<
String, dynamic> json) -
factory
Properties
- application → DiscordApplication
-
final
- expiresAt → DateTime
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopes
→ List<
String> -
final
-
scopesAsEnum
→ List<
DiscordApiScope> -
no setter
- user → DiscordUser?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- applicationEntry → const String
- expiresEntry → const String
- scopesEntry → const String
- userEntry → const String