destroy method
void
destroy()
Implementation
void destroy() {
// Cleanup JavaScript SDK resources
JavaScriptSDKClient.close();
// Cancel any JS SDK subscriptions that may have been registered
_eventSubscription?.cancel();
_uuidToEventListenerMap.clear();
}