DiscordGuildWidget class

Constructors

DiscordGuildWidget({required DiscordSnowflake id, required String name, String? instantInvite, required List<DiscordChannel> channels, required List<DiscordUser> members, required int presenceCount})
DiscordGuildWidget.fromJson(Map<String, dynamic> json)
factory

Properties

channels List<DiscordChannel>
voice and stage channels which are accessible by @everyone
final
hashCode int
The hash code for this object.
no setterinherited
id DiscordSnowflake
guild id
final
instantInvite String?
instant invite for the guilds specified widget invite channel
final
members List<DiscordUser>
special widget user objects that includes users presence (limit 100)
final
name String
guild name (2-100 characters)
final
presenceCount int
number of online members in this guild
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

channelsEntry → const String
idEntry → const String
instantInviteEntry → const String
membersEntry → const String
nameEntry → const String
presenceCountEntry → const String