DiscordTokenWebhook class

Constructors

DiscordTokenWebhook({required DiscordSnowflake applicationId, required String name, required String url, required DiscordSnowflake channelId, required String token, required int type, required String? avatar, required DiscordSnowflake guildId, required DiscordSnowflake id})
DiscordTokenWebhook.fromJson(Map<String, dynamic> json)
factory

Properties

applicationId DiscordSnowflake
final
avatar String?
final
channelId DiscordSnowflake
final
guildId DiscordSnowflake
final
hashCode int
The hash code for this object.
no setterinherited
id DiscordSnowflake
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String
final
type int
final
url String
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

applicationIdEntry → const String
avatarEntry → const String
channelIdEntry → const String
guildIdEntry → const String
idEntry → const String
nameEntry → const String
tokenEntry → const String
typeEntry → const String
urlEntry → const String