IGuildPreview class Null safety

Implemented types

Constructors

IGuildPreview()

Properties

approxMemberCount int
Approximate number of members in this guild
read-only
approxOnlineMembers int
Approximate number of online members in this guild
read-only
client INyxx
Reference to client
read-only
createdAt DateTime
Gets creation timestamp included in Snowflake
read-only, inherited
description String?
The description for the guild
read-only
discoveryHash String?
Hash of guild discovery image. To get url use discoveryURL
read-only
emojis List<BaseGuildEmoji>
List of guild's emojis
read-only
features Iterable<GuildFeature>
List of guild's features
read-only
hashCode int
The hash code for this object.
read-only, inherited
iconHash String?
Hash of guild icon. To get url use iconURL
read-only
id Snowflake
ID of entity as Snowflake
final, inherited
name String
Guild name
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
splashHash String?
Hash of guild spash image. To get url use splashURL
read-only

Methods

discoveryURL({String format = "webp", int size = 128}) String?
URL to guild's splash. If guild doesn't have splash it returns null.
iconURL({String format = "webp", int size = 128}) String?
The guild's icon, represented as URL. If guild doesn't have icon it returns null.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
splashURL({String format = "webp", int size = 128}) String?
URL to guild's splash. If guild doesn't have splash it returns null.
toString() String
A string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator.
inherited