WelcomeScreen class
Welcome Screen structure
https://discord.com/developers/docs/resources/guild#welcome-screen-object-welcome-screen-structure
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
-
WelcomeScreen({String? description, required List<
WelcomeScreenChannel> welcomeChannels}) - Constructor
-
WelcomeScreen.fromJson(Map<
String, dynamic> json) -
From 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<
WelcomeScreenChannel> -
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
-
toJson(
) → Map< String, dynamic> - To json
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited