GuildPreview class
Guild Preview structure
https://discord.com/developers/docs/resources/guild#guild-preview-object-guild-preview-structure
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
Properties
- approximateMemberCount → int
-
approximate number of members in this guild
final
- approximatePresenceCount → int
-
approximate number of online members in this guild
final
- description → String?
-
the description for the guild, if the guild is discoverable
final
- discoverySplash → String?
-
discovery splash hash
final
-
emojis
→ List<
Emoji> ? -
custom guild emojis
final
-
features
→ List<
GuildFeature> -
enabled guild features
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → String?
-
icon hash
final
- id → String
-
guild id
final
- name → String
-
guild name (2-100 characters)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- splash → String?
-
splash hash
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
Static Methods
-
fromJson(
Map< String, dynamic> json) → GuildPreview - From json