InviteMetadata class

Inheritance

Constructors

InviteMetadata({required int uses, required int maxUses, required int maxAge, required bool temporary, required String createdAt, required String code, Guild? guild, required Channel channel, User? inviter, User? targetUser, TargetUserType? targetUserType, int? approximatePresenceCount, int? approximateMemberCount})

Properties

approximateMemberCount int?
finalinherited
approximatePresenceCount int?
finalinherited
channel Channel
finalinherited
code String
finalinherited
createdAt String
final
guild Guild?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
inviter User?
finalinherited
maxAge int
final
maxUses int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetUser User?
finalinherited
targetUserType TargetUserType?
finalinherited
temporary bool
final
uses int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
override
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) InviteMetadata
override