disconnect method

Future<void> disconnect()

Disconnect from server

Implementation

Future<void> disconnect() async {
  await _channel?.shutdown();
  _channel = null;
  _client = null;
  _isInitialized = false;
  _currentConversationId = null;

  debugPrint('[LiteRtLmClient] Disconnected');
}