VanityInvite class

Constructors

VanityInvite({required String? code, required int uses})
VanityInvite.from(Map<String, dynamic> payload)
factory

Properties

code String?
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uses int
final

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

Static Methods

sync(Snowflake guildId) Future<VanityInvite?>
Syncs the vanity invite for the Guild.