ChatMessageSenderInfo class

消息发送者信息类,包含消息发送者的用户属性。

Constructors

ChatMessageSenderInfo({String? userId, String? nickname, String? avatarUrl, String? remark, String? groupNameCard})
创建消息发送者信息。
ChatMessageSenderInfo.fromJson(Map map)
factory

Properties

avatarUrl → String?
消息发送者的头像。
final
groupNameCard → String?
消息发送者的群名片。
final
hashCode → int
The hash code for this object.
no setterinherited
nickname → String?
消息发送者的昵称。
final
remark → String?
当前用户给消息发送者设置的备注。
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
userId → String?
消息发送者的用户 ID。
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited