Group class

Annotations
  • @JsonSerializable(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)

Constructors

Group({String? id, String? name, String? shortCode, String? discriminator, String? description, String? iconUrl, String? bannerUrl, GroupPrivacy? privacy, String? ownerId, String? rules, List<String>? links, List<String>? languages, String? iconId, String? bannerId, int? memberCount, DateTime? memberCountSyncedAt, bool? isVerified = false, GroupJoinState? joinState, List<String>? tags, List<GroupGallery>? galleries, DateTime? createdAt, int? onlineMemberCount, GroupMemberStatus? membershipStatus, GroupMyMember? myMember, List<GroupRole>? roles})
Returns a new Group instance.
Group.fromJson(Map<String, dynamic> json)
factory

Properties

bannerId String?
final
bannerUrl String?
final
createdAt DateTime?
final
description String?
final
discriminator String?
final
galleries List<GroupGallery>?
final
hashCode int
The hash code for this object.
no setteroverride
iconId String?
final
iconUrl String?
final
id String?
final
isVerified bool?
final
joinState GroupJoinState?
final
languages List<String>?
final
final
memberCount int?
final
memberCountSyncedAt DateTime?
final
membershipStatus GroupMemberStatus?
final
myMember GroupMyMember?
final
name String?
final
onlineMemberCount int?
final
ownerId 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 of 8JoV9XEdpo. The ID can never be changed.
final
privacy GroupPrivacy?
final
roles List<GroupRole>?
Only returned if ?includeRoles=true is specified.
final
rules String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortCode String?
final
tags List<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