TextMessageNode class
文本消息节点
- Inheritance
-
- Object
- MessageNode
- TextMessageNode
Constructors
-
TextMessageNode({required String content, List<
String> ? atUserList, bool atAll = false}) -
TextMessageNode.fromJson(Map<
String, dynamic> json)
Properties
- atAll ← bool
-
设置@所有人
no getter
-
atUserList
← List<
String> -
设置@列表
no getter
- content ↔ String
-
文本内容
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- nodeType ↔ MessageElemTypeEnum
-
新消息节点类型
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited