ConversationDraft class
本地会话草稿(不跨端同步)。
- 纯文本:直接存字符串
- 结构化:JSON
{"text":"...","ops":...}(对齐 Web{text, ops})
Constructors
- ConversationDraft({required String text, dynamic ops})
-
const
- ConversationDraft.decode(String raw)
-
factory
Properties
Methods
-
encode(
) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited