addUserAtInfo method
Implementation
void addUserAtInfo(String info) {
// 保留旧调用入口;没有文本范围时不会参与编辑提交,只用于普通发送兼容。
if (info.isEmpty) return;
final end = _controller.text.length;
_mentions.add(RCKMessageEditMention(
userId: info,
text: '',
start: end,
end: end,
));
notifyListeners();
}