closeConversation method
void
closeConversation()
Close the current conversation.
Implementation
void closeConversation() {
if (_conversation != null &&
_conversation != nullptr &&
_bindings != null) {
_bindings!.litert_lm_conversation_delete(_conversation!);
_conversation = null;
debugPrint('[LiteRtLmFfi] Conversation closed');
}
}