clearHost method

void clearHost(
  1. String hostName
)

Clear all content for a host (for cleanup)

Implementation

void clearHost(String hostName) {
  _screens[hostName]?.clear();
  _hostCallbacks[hostName]?.call();

  if (kDebugMode) {
    print('📺 ScreenManager: Cleared all content from host "$hostName"');
  }
}