ConversationProvider constructor
ConversationProvider({
- required BuildContext context,
- required void onDelete(
- String id
- required void onCreate(
- Conversation
- Conversation? originalConversation,
- void onTextResponse(
- ConversationProvider self
- void onJsonComplete()?,
- Assistant? assistant,
Implementation
ConversationProvider({
required this.context,
required this.onDelete,
required this.onCreate,
this.originalConversation,
this.onTextResponse,
this.onJsonComplete,
Assistant? assistant,
}) : _assistant = assistant;