ChatMessage constructor
const
ChatMessage({
- required String text,
- required DateTime time,
- required ChatAuthor author,
- List<
ChatMessageSuggestion> ? suggestions, - ChatSuggestionSettings? suggestionSettings,
Creates a ChatMessage instance with the given text
, time
,
author
and optional suggestions
and suggestionSettings
.
Implementation
const ChatMessage({
required this.text,
required this.time,
required this.author,
this.suggestions,
this.suggestionSettings,
});