data property

  1. @override
String? data
final

Text content for the suggestion.

Example:

List<ChatMessage> _messages = <ChatMessage>[
    ChatMessage(
      suggestions: <ChatMessageSuggestion>[
        const ChatMessageSuggestion(
          data: 'Paris',
        ),
      ],
    ),
  ];

Implementation

@override
final String? data;