NIMTeam class Null safety
- Annotations
-
- @JsonSerializable()
Constructors
- NIMTeam({String? id, String? name, String? icon, required NIMTeamTypeEnum type, String? announcement, String? introduce, String? creator, required int memberCount, required int memberLimit, required NIMVerifyTypeEnum verifyType, required num createTime, bool? isMyTeam, String? extension, String? extServer, required NIMTeamMessageNotifyTypeEnum messageNotifyType, required NIMTeamInviteModeEnum teamInviteMode, required NIMTeamBeInviteModeEnum teamBeInviteModeEnum, required NIMTeamUpdateModeEnum teamUpdateMode, required NIMTeamExtensionUpdateModeEnum teamExtensionUpdateMode, bool? isAllMute, required NIMTeamAllMuteModeEnum muteMode})
-
NIMTeam.fromMap(Map<
String, dynamic> map) -
factory
Properties
- announcement → String?
-
Get the announcement of a group
final
- createTime → num
-
Get the creation time of a group. Unit: milliseconds
final
- creator → String?
-
Get the account that created a group
final
- extension → String?
-
Set the extension configuration for a group /// In most cases, the configuration must be a JSON or XML string.
final
- extServer → String?
-
Get the server extension configuration /// The field is defined by third-party apps as getExtension()}. CommsEase provides the storage and pass-through delivery without interpretation. /// This setting is configured using a server API and the client has only the read permissions.
final
- hashCode → int
-
The hash code for this object.
read-only, inherited
- icon → String?
-
Get the avatar of a group
final
- id → String?
-
Get the ID of a group
final
- introduce → String?
-
Get the group introduction
final
- isAllMute → bool?
-
Check if All Mute is applied
final
- isMyTeam → bool?
-
Check the membership of the current user
final
- memberCount → int
-
Get the member count of a group
final
- memberLimit → int
-
Get the upper limit of group members.
final
- messageNotifyType → NIMTeamMessageNotifyTypeEnum
-
Get the notification type of messages received in a group. Basic groups support all muted or all alerted types.
final
- muteMode → NIMTeamAllMuteModeEnum
-
Get the all-mute mode
final
- name → String?
-
Get the name of a group
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- teamBeInviteModeEnum → NIMTeamBeInviteModeEnum
-
Get the invite mode: how to accept invitations
final
- teamExtensionUpdateMode → NIMTeamExtensionUpdateModeEnum
-
Get the edit mode of extension fields of a group profile: permissions to edit custom attributes (extension fields)
final
- teamInviteMode → NIMTeamInviteModeEnum
-
Get the invite mode: how to invite members.
final
- teamUpdateMode → NIMTeamUpdateModeEnum
-
Get the edit mode of a group profile: permissions to edit a group profile.
final
- type → NIMTeamTypeEnum
-
Get the group type
final
- verifyType → NIMVerifyTypeEnum
-
Get the verification type for joining a group
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited