DiscordInviteMetadata class

Constructors

DiscordInviteMetadata({required int uses, required int maxUses, required int maxAge, required bool temporary, required String createdAt})
DiscordInviteMetadata.fromJson(Map<String, dynamic> json)
factory

Properties

createdAt String
when this invite was created
final
createdAtAsDateTime DateTime
no setter
hashCode int
The hash code for this object.
no setterinherited
maxAge int
duration (in seconds) after which the invite expires
final
maxUses int
max number of times the invite can be used
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
temporary bool
whether this invite only grants temporary membership
final
uses int
number of times the invite has been used
final

Methods

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

Operators

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

Constants

createdAtEntry → const String
maxAgeEntry → const String
maxUsesEntry → const String
temporaryEntry → const String
usesEntry → const String