GroupMember class
- Annotations
-
- @JsonSerializable(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)
Constructors
-
GroupMember({String? id, String? groupId, String? userId, bool? isRepresenting = false, GroupMemberLimitedUser? user, List<
String> ? roleIds, List<String> ? mRoleIds, DateTime? joinedAt, GroupMemberStatus? membershipStatus, String? visibility, bool? isSubscribedToAnnouncements = false, DateTime? createdAt, DateTime? bannedAt, String? managerNotes, DateTime? lastPostReadAt, bool? hasJoinedFromPurchase}) - Returns a new GroupMember instance.
-
GroupMember.fromJson(Map<
String, dynamic> json) -
factory
Properties
- bannedAt → DateTime?
-
Only visible via the /groups/:groupId/members endpoint, not when fetching a specific user.
final
- createdAt → DateTime?
-
Only visible via the /groups/:groupId/members endpoint, not when fetching a specific user.
final
- groupId → String?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- hasJoinedFromPurchase → bool?
-
final
- id → String?
-
final
- isRepresenting → bool?
-
Whether the user is representing the group. This makes the group show up above the name tag in-game.
final
- isSubscribedToAnnouncements → bool?
-
final
- joinedAt → DateTime?
-
final
- lastPostReadAt → DateTime?
-
final
- managerNotes → String?
-
Only visible via the /groups/:groupId/members endpoint, not when fetching a specific user.
final
- membershipStatus → GroupMemberStatus?
-
final
-
mRoleIds
→ List<
String> ? -
final
-
roleIds
→ List<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- user → GroupMemberLimitedUser?
-
final
- userId → String?
-
A users unique ID, usually in the form of
usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469
. Legacy players can have old IDs in the form of8JoV9XEdpo
. The ID can never be changed.final - visibility → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override