GuildFeatures class

Features that can be enabled in certain guilds.

Inheritance
Available Extensions

Constructors

GuildFeatures(int value)
Create a new GuildFeatures.
const

Properties

first Flag<GuildFeatures>
The first element.
no setterinherited
hasAnimatedBanner bool
Whether this guild has the animatedBanner feature.
no setter
hasAnimatedIcon bool
Whether this guild has the animatedIcon feature.
no setter
hasApplicationCommandPermissionsV2 bool
Whether this guild has the applicationCommandPermissionsV2 feature.
no setter
hasAutoModeration bool
Whether this guild has the autoModeration feature.
no setter
hasBanner bool
Whether this guild has the banner feature.
no setter
hasCommunity bool
Whether this guild has the community feature.
no setter
hasCreatorStorePage bool
Whether this guild has the creatorStorePage feature.
no setter
hasDeveloperSupportServer bool
Whether this guild has the developerSupportServer feature.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasInvitesDisabled bool
Whether this guild has the invitesDisabled feature.
no setter
hasInviteSplash bool
Whether this guild has the inviteSplash feature.
no setter
hasMemberVerificationGateEnabled bool
Whether this guild has the memberVerificationGateEnabled feature.
no setter
hasMoreStickers bool
Whether this guild has the moreStickers feature.
no setter
hasNews bool
Whether this guild has the news feature.
no setter
hasPreviewEnabled bool
Whether this guild has the previewEnabled feature.
no setter
hasRaidAlertsDisabled bool
Whether this guild has the raidAlertsDisabled feature.
no setter
hasRoleIcons bool
Whether this guild has the roleIcons feature.
no setter
hasRoleSubscriptionsAvailableForPurchase bool
Whether this guild has the roleSubscriptionsAvailableForPurchase feature.
no setter
hasRoleSubscriptionsEnabled bool
Whether this guild has the roleSubscriptionsEnabled feature.
no setter
hasTicketedEventsEnabled bool
Whether this guild has the ticketedEventsEnabled feature.
no setter
hasVanityUrl bool
Whether this guild has the vanityUrl feature.
no setter
hasVipRegions bool
Whether this guild has the vipRegions feature.
no setter
hasWelcomeScreenEnabled bool
Whether this guild has the welcomeScreenEnabled feature.
no setter
isCreatorMonetizableProvisional bool
Whether this guild has the creatorMonetizableProvisional feature.
no setter
isDiscoverable bool
Whether this guild has the discoverable feature.
no setter
isEmpty bool
Whether this collection has no elements.
no setterinherited
isFeaturable bool
Whether this guild has the featurable feature.
no setter
isNotEmpty bool
Whether this collection has at least one element.
no setterinherited
isPartnered bool
Whether this guild has the partnered feature.
no setter
isVerified bool
Whether this guild has the verified feature.
no setter
iterator Iterator<Flag<GuildFeatures>>
A new Iterator that allows iterating the elements of this Iterable.
no setterinherited
last Flag<GuildFeatures>
The last element.
no setterinherited
length int
The number of elements in this Iterable.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
single Flag<GuildFeatures>
Checks that this iterable has only one element, and returns that element.
no setterinherited
value int
The integer value encoding the flags as a bitfield.
finalinherited

Methods

any(bool test(Flag<GuildFeatures> element)) bool
Checks whether any element of this iterable satisfies test.
inherited
cast<R>() Iterable<R>
A view of this iterable as an iterable of R instances.
inherited
contains(Object? element) bool
Whether the collection contains an element equal to element.
inherited
defaultToString() String
Same as toString, but only called when dart:mirrors is not available.
inherited
elementAt(int index) Flag<GuildFeatures>
Returns the indexth element.
inherited
every(bool test(Flag<GuildFeatures> element)) bool
Checks whether every element of this iterable satisfies test.
inherited
expand<T>(Iterable<T> toElements(Flag<GuildFeatures> element)) Iterable<T>
Expands each element of this Iterable into zero or more elements.
inherited
firstWhere(bool test(Flag<GuildFeatures> element), {Flag<GuildFeatures> orElse()?}) Flag<GuildFeatures>
The first element that satisfies the given predicate test.
inherited
fold<T>(T initialValue, T combine(T previousValue, Flag<GuildFeatures> element)) → T
Reduces a collection to a single value by iteratively combining each element of the collection with an existing value
inherited
followedBy(Iterable<Flag<GuildFeatures>> other) Iterable<Flag<GuildFeatures>>
Creates the lazy concatenation of this iterable and other.
inherited
forEach(void action(Flag<GuildFeatures> element)) → void
Invokes action on each element of this iterable in iteration order.
inherited
has(Flag<GuildFeatures> flag) bool
Returns true if this Flags has the flag enabled, false otherwise.
inherited
join([String separator = ""]) String
Converts each element to a String and concatenates the strings.
inherited
lastWhere(bool test(Flag<GuildFeatures> element), {Flag<GuildFeatures> orElse()?}) Flag<GuildFeatures>
The last element that satisfies the given predicate test.
inherited
map<T>(T toElement(Flag<GuildFeatures> e)) Iterable<T>
The current elements of this iterable modified by toElement.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reduce(Flag<GuildFeatures> combine(Flag<GuildFeatures> value, Flag<GuildFeatures> element)) Flag<GuildFeatures>
Reduces a collection to a single value by iteratively combining elements of the collection using the provided function.
inherited
singleWhere(bool test(Flag<GuildFeatures> element), {Flag<GuildFeatures> orElse()?}) Flag<GuildFeatures>
The single element that satisfies test.
inherited
skip(int count) Iterable<Flag<GuildFeatures>>
Creates an Iterable that provides all but the first count elements.
inherited
skipWhile(bool test(Flag<GuildFeatures> value)) Iterable<Flag<GuildFeatures>>
Creates an Iterable that skips leading elements while test is satisfied.
inherited
take(int count) Iterable<Flag<GuildFeatures>>
Creates a lazy iterable of the count first elements of this iterable.
inherited
takeWhile(bool test(Flag<GuildFeatures> value)) Iterable<Flag<GuildFeatures>>
Creates a lazy iterable of the leading elements satisfying test.
inherited
toList({bool growable = true}) List<Flag<GuildFeatures>>
Creates a List containing the elements of this Iterable.
inherited
toSet() Set<Flag<GuildFeatures>>
Creates a Set containing the same elements as this iterable.
inherited
toString() String
A string representation of this object.
inherited
where(bool test(Flag<GuildFeatures> element)) Iterable<Flag<GuildFeatures>>
Creates a new lazy Iterable with all elements that satisfy the predicate test.
inherited
whereType<T>() Iterable<T>
Creates a new lazy Iterable with all elements that have type T.
inherited

Operators

operator &(Flags<GuildFeatures> other) Flags<GuildFeatures>
Return a set of flags that has all the flags set in both this and other.
inherited
operator ==(Object other) bool
The equality operator.
inherited
operator ^(Flags<GuildFeatures> other) Flags<GuildFeatures>
Return a set of flags that has all the flags set in this or in other but not in both.
inherited
operator |(Flags<GuildFeatures> other) Flags<GuildFeatures>
Return a set of flags that has all the flags set in either this or other.
inherited
operator ~() Flags<GuildFeatures>
Returns the opposite of this set of flags.
inherited

Constants

animatedBanner → const Flag<GuildFeatures>
The guild has an animated banner.
animatedIcon → const Flag<GuildFeatures>
The guild has an animated icon.
applicationCommandPermissionsV2 → const Flag<GuildFeatures>
The guild has the Application Command Permissions V2.
autoModeration → const Flag<GuildFeatures>
The guild has auto moderation.
The guild has a banner.
community → const Flag<GuildFeatures>
The guild is a community guild.
creatorMonetizableProvisional → const Flag<GuildFeatures>
The guild has enabled monetization.
creatorStorePage → const Flag<GuildFeatures>
The guild has enabled the role subscription promo page.
developerSupportServer → const Flag<GuildFeatures>
The guild has been set as a support server on the App Directory.
discoverable → const Flag<GuildFeatures>
The guild is able to be discovered in the directory.
featurable → const Flag<GuildFeatures>
The guild is able to be featured in the directory.
invitesDisabled → const Flag<GuildFeatures>
The guild has paused invites, preventing new users from joining.
inviteSplash → const Flag<GuildFeatures>
The guild has access to set an invite splash background.
memberVerificationGateEnabled → const Flag<GuildFeatures>
The guild has enabled Membership Screening.
moreStickers → const Flag<GuildFeatures>
The guild has increased custom sticker slots.
news → const Flag<GuildFeatures>
The guild has access to create announcement channels.
partnered → const Flag<GuildFeatures>
The guild is partnered.
previewEnabled → const Flag<GuildFeatures>
The guild can be previewed before joining via Membership Screening or the directory.
raidAlertsDisabled → const Flag<GuildFeatures>
The guild has disabled alerts for join raids in the configured safety alerts channel.
roleIcons → const Flag<GuildFeatures>
The guild is able to set role icons.
roleSubscriptionsAvailableForPurchase → const Flag<GuildFeatures>
The guild has role subscriptions that can be purchased.
roleSubscriptionsEnabled → const Flag<GuildFeatures>
The guild has enabled role subscriptions.
ticketedEventsEnabled → const Flag<GuildFeatures>
The guild has enabled ticketed events.
vanityUrl → const Flag<GuildFeatures>
The guild has access to set a vanity URL.
verified → const Flag<GuildFeatures>
The guild is verified.
vipRegions → const Flag<GuildFeatures>
The guild has access to set 384kbps bitrate in voice (previously VIP voice servers).
welcomeScreenEnabled → const Flag<GuildFeatures>
The guild has enabled the welcome screen.