DiscordWelcomeScreen class

Constructors

DiscordWelcomeScreen({String? description, required List<DiscordWelcomeScreenChannel> welcomeChannels})
DiscordWelcomeScreen.fromJson(Map<String, dynamic> json)
factory

Properties

description String?
the server description shown in the welcome screen
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
welcomeChannels List<DiscordWelcomeScreenChannel>
the channels shown in the welcome screen, up to 5
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

descriptionEntry → const String
welcomeChannelsEntry → const String