NIMChatroomKickOutEvent class Null safety
当用户被踢出聊天室或者聊天室关闭时,会触发被踢事件
- Inheritance
-
- Object
- NIMChatroomEvent
- NIMChatroomKickOutEvent
- Annotations
Constructors
-
NIMChatroomKickOutEvent(String roomId, NIMChatroomKickOutReason reason, Map<
String, dynamic> ? extension) -
NIMChatroomKickOutEvent.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
extension
→ Map<
String, dynamic> ? -
扩展字段
@JsonKey(fromJson: castPlatformMapToDartMap), final
- hashCode → int
-
The hash code for this object.
read-only, inherited
- reason → NIMChatroomKickOutReason
-
原因
final
- roomId → String
-
聊天室Id
final, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited