InviteWithMeta class Null safety

Invite object with additional metadata

Inheritance

Properties

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

Methods

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

Operators

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