InviteManager class

A manager for Invites.

Constructors

InviteManager(NyxxRest client)
Create a new InviteManager.

Properties

client NyxxRest
The client this InviteManager is for.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String code, {String? auditLogReason}) Future<Invite>
Delete an invite.
fetch(String code, {bool? withCounts, bool? withExpiration, Snowflake? scheduledEventId}) Future<Invite>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(Map<String, Object?> raw) Invite
Parse an Invite from raw.
parseWithMetadata(Map<String, Object?> raw) InviteWithMetadata
Parse an InviteWithMetadata from raw.
toString() String
A string representation of this object.
inherited

Operators

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