AtElem class

@消息内容

Constructors

AtElem({String? text, List<String>? atUserList, bool? isAtSelf, List<AtUserInfo>? atUsersInfo, Message? quoteMessage})
AtElem.fromJson(Map<String, dynamic> json)

Properties

atUserList List<String>?
被@的用户ID列表
getter/setter pair
atUsersInfo List<AtUserInfo>?
被@的用户ID跟昵称关系列表,用于将消息内容里的用户id替换为昵称显示
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isAtSelf bool?
是否包含自己
getter/setter pair
quoteMessage Message?
被回复的消息体,回复别人并@了人
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
消息内容
getter/setter pair

Methods

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

Operators

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