NIMChatroomKickOutEvent class Null safety

The event is triggered when a user is removed from a chat room or a chat room is closed.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

NIMChatroomKickOutEvent(String roomId, NIMChatroomKickOutReason reason, Map<String, dynamic>? extension)
NIMChatroomKickOutEvent.fromMap(Map<String, dynamic> map)
factory

Properties

extension Map<String, dynamic>?
Extension field
@JsonKey(fromJson: castPlatformMapToDartMap), final
hashCode int
The hash code for this object.
read-only, inherited
reason NIMChatroomKickOutReason
Reason
final
roomId String
Chat room 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