InviteCreateEvent class

Constructors

InviteCreateEvent({required String channelId, required String code, required String timestamp, String? guildId, User? inviter, required int maxAge, required int maxUses, User? targetUser, int? targetUserType, required bool temporary, required int uses})

Properties

channelId String
final
code String
final
guildId String?
final
hashCode int
The hash code for this object.
no setterinherited
inviter User?
final
maxAge int
final
maxUses int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetUser User?
final
targetUserType int?
final
temporary bool
final
timestamp String
final
uses int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) InviteCreateEvent