suggestions property
List of suggestion items for the message.
Example:
List<ChatMessage> _messages = <ChatMessage>[
ChatMessage(
text:
"Hi, I have planned to go on a trip. Can you suggest some places?",
suggestions: <ChatMessageSuggestion>[
ChatMessageSuggestion(
data: 'Paris',
),
ChatMessageSuggestion(
data: 'New York',
),
ChatMessageSuggestion(
data: 'Tokyo',
),
ChatMessageSuggestion(
data: 'London',
),
],
),
];
Implementation
@override
final List<ChatMessageSuggestion>? suggestions;