InviteWithMeta class Null safety

Invite object with additional metadata



channel Cacheable<Snowflake, TextChannel>?
A mini channel object for the invite's channel.
late, final, inherited
client INyxx
Reference to bot instance
final, inherited
code String
The invite's code.
late, final, inherited
createdAt DateTime
Date when invite was created
late, final
expiryDate DateTime
Date when invite will expire
guild Cacheable<Snowflake, Guild>?
A mini guild object for the invite's guild.
late, final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
inviter User?
User who created this invite
late, final, inherited
isValid bool
True if Invite is valid and can be used
maxAge int
Duration (in seconds) after which the invite expires
late, final
maxUses int
Max number of uses of this invite
late, final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
targetUser Cacheable<Snowflake, User>?
The target user for this invite
late, final, inherited
temporary bool
Whether this invite only grants temporary membership
late, final
url String
Returns url to invite
read-only, inherited
uses int
Number of uses of this invite
late, final


delete({String? auditReason}) Future<void>
Deletes this Invite.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]