Group constructor
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.
Implementation
Group({
this.id,
this.name,
this.shortCode,
this.discriminator,
this.description,
this.iconUrl,
this.bannerUrl,
this.privacy,
this.ownerId,
this.rules,
this.links,
this.languages,
this.iconId,
this.bannerId,
this.memberCount,
this.memberCountSyncedAt,
this.isVerified = false,
this.joinState,
this.tags,
this.galleries,
this.createdAt,
this.onlineMemberCount,
this.membershipStatus,
this.myMember,
this.roles,
});