ChatGroup constructor

ChatGroup({
  1. required String groupId,
  2. String? groupName,
  3. String? avatarUrl,
  4. String? desc,
  5. String? owner,
  6. String? announcement,
  7. int? memberCount,
  8. List<String>? memberList,
  9. List<String>? adminList,
  10. List<String>? blockList,
  11. List<String>? muteList,
  12. bool? messageBlocked,
  13. bool? isAllMemberMuted,
  14. ChatGroupPermissionType? permissionType,
  15. int? maxUserCount,
  16. bool? isPublic,
  17. bool? isJoinApprovalRequired,
  18. bool? isMemberAllowToInvite,
  19. String? extension,
  20. ChatGroupConfigs? configs,
  21. bool isDisabled = false,
})

Implementation

ChatGroup({
  required this.groupId,
  this.groupName,
  this.avatarUrl,
  this.desc,
  this.owner,
  this.announcement,
  this.memberCount,
  this.memberList,
  this.adminList,
  this.blockList,
  this.muteList,
  this.messageBlocked,
  this.isAllMemberMuted,
  this.permissionType,
  this.maxUserCount,
  this.isPublic,
  this.isJoinApprovalRequired,
  this.isMemberAllowToInvite,
  this.extension,
  this.configs,
  this.isDisabled = false,
});