Invite class Null safety
Represents invite to guild.
- Implementers
Properties
-
channel
↔ Cacheable<
Snowflake, TextChannel> ? -
A mini channel object for the invite's channel.
read / write, final, late
- client → Nyxx
-
Reference to bot instance
final
- code ↔ String
-
The invite's code.
read / write, final, late
-
guild
↔ Cacheable<
Snowflake, Guild> ? -
A mini guild object for the invite's guild.
read / write, final, late
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- inviter ↔ User?
-
User who created this invite
read / write, final, 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
read / write, final, late
- url → String
-
Returns url to invite
read-only
Methods
-
delete(
{String? auditReason}) → Future< void> - Deletes this Invite.
-
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