GuildPreview class Null safety
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
-
read-only
- approximatePresenceCount → int
-
read-only
- description → String?
-
read-only
- discoverySplash → String?
-
read-only
-
emojis
→ Map<
Snowflake, Emoji> -
read-only
-
features
→ List<
GuildFeature> -
read-only
- hashCode → int
-
The hash code for this object.
read-only, inherited
- icon → String?
-
read-only
- id → Snowflake
-
read-only
- label → String
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- splash → String?
-
read-only
-
stickers
→ Map<
Snowflake, Sticker> -
read-only
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited