DiscordTeamMember class
Constructors
-
DiscordTeamMember({required int membershipState, required List<
String> permissions, required DiscordSnowflake teamId, required DiscordUser user}) -
DiscordTeamMember.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- membershipState → int
-
final
- membershipStateAsEnum → DiscordMembershipState
-
no setter
-
permissions
→ List<
String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- teamId → DiscordSnowflake
-
final
- user → DiscordUser
-
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
- membershipStateEntry → const String
- permissionsEntry → const String
- teamIdEntry → const String
- userEntry → const String