sendText method
- String text
Convenience helper for sending text without constructing a SentMessage.
Implementation
Future<void> sendText(String text) {
final message = SentMessage(
id: const Uuid().v4(),
timestamp: DateTime.timestamp(),
content: SentUserInput(text),
);
return send(message);
}