Invite class

Implementers

Constructors

Invite({required String code, Guild? guild, required Channel channel, User? inviter, User? targetUser, TargetUserType? targetUserType, int? approximatePresenceCount, int? approximateMemberCount})

Properties

approximateMemberCount int?
final
approximatePresenceCount int?
final
channel Channel
final
code String
final
guild Guild?
final
hashCode int
The hash code for this object.
no setterinherited
inviter User?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetUser User?
final
targetUserType TargetUserType?
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) Invite