Group constructor

Group({
  1. String? id,
  2. String? name,
  3. String? shortCode,
  4. String? discriminator,
  5. String? description,
  6. String? iconUrl,
  7. String? bannerUrl,
  8. GroupPrivacy? privacy,
  9. String? ownerId,
  10. String? rules,
  11. List<String>? links,
  12. List<String>? languages,
  13. String? iconId,
  14. String? bannerId,
  15. int? memberCount,
  16. DateTime? memberCountSyncedAt,
  17. bool? isVerified = false,
  18. GroupJoinState? joinState,
  19. List<String>? tags,
  20. List<GroupGallery>? galleries,
  21. DateTime? createdAt,
  22. int? onlineMemberCount,
  23. GroupMemberStatus? membershipStatus,
  24. GroupMyMember? myMember,
  25. 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,
});