DiscordWelcomeScreenChannel class

Constructors

DiscordWelcomeScreenChannel({required DiscordSnowflake channelId, required String description, DiscordSnowflake? emojiId, String? emojiName})
DiscordWelcomeScreenChannel.fromJson(Map<String, dynamic> json)
factory

Properties

channelId DiscordSnowflake
the channel's id
final
description String
the description shown for the channel
final
emojiId DiscordSnowflake?
the emoji id, if the emoji is custom
final
emojiName String?
the emoji name if custom, the unicode character if standard, or null if no emoji is set
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

channelIdEntry → const String
descriptionEntry → const String
emojiIdEntry → const String
emojiNameEntry → const String