EMGroup constructor

EMGroup({
  1. required String groupId,
  2. @Deprecated('Use [groupName] instead') String? name,
  3. String? groupName,
  4. String? avatarUrl,
  5. @Deprecated('Use [desc] instead') String? description,
  6. String? desc,
  7. String? owner,
  8. String? announcement,
  9. int? memberCount,
  10. List<String>? memberList,
  11. List<String>? adminList,
  12. List<String>? blockList,
  13. List<String>? muteList,
  14. bool? messageBlocked,
  15. bool? isAllMemberMuted,
  16. EMGroupPermissionType? permissionType,
  17. int? maxUserCount,
  18. bool? isMemberOnly,
  19. bool? isMemberAllowToInvite,
  20. String? extension,
  21. bool isDisabled = false,
})

Implementation

EMGroup({
  required this.groupId,
  @Deprecated('Use [groupName] instead') this.name,
  this.groupName,
  this.avatarUrl,
  @Deprecated('Use [desc] instead') this.description,
  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.isMemberOnly,
  this.isMemberAllowToInvite,
  this.extension,
  this.isDisabled = false,
});