dispose method

void dispose()

Disposes of resources used by the plugin, such as active SSE connections.

Call this when the chat functionality is no longer needed to prevent memory leaks.

Implementation

void dispose() {
  // _isInitialized = false; // Reset status on dispose
  ChatPluginPlatform.instance.dispose();
}