GuildPreview class
Represents a preview of a Guild.
Constructors
-
GuildPreview(Snowflake _id, String _label, String? _description, String? _icon, String? _splash, String? _discoverySplash, Map<
Snowflake, Emoji> _emojis, Map<Snowflake, Sticker> _stickers, List<GuildFeature> _features, int _approximateMemberCount, int _approximatePresenceCount) - GuildPreview.from({required Guild guild, required dynamic payload})
-
factory
Properties
- approximateMemberCount → int
-
Get the Guild approximate member count.
no setter
- approximatePresenceCount → int
-
Get the Guild approximate presence count.
no setter
- description → String?
-
Get the Guild description.
no setter
- discoverySplash → String?
-
Get the Guild discovery splash.
no setter
-
emojis
→ Map<
Snowflake, Emoji> -
Get the Guild emojis.
no setter
-
features
→ List<
GuildFeature> -
Get the Guild features.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → String?
-
Get the Guild icon.
no setter
- id → Snowflake
-
Get the Guild id.
no setter
- label → String
-
Get the Guild label.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- splash → String?
-
Get the Guild splash.
no setter
-
stickers
→ Map<
Snowflake, Sticker> -
Get the Guild stickers.
no setter
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