debugBindWindow method
Addresses window instead of the platform's current window, or goes
back to the current window with null. For tests of this bridge only.
Implementation
@visibleForTesting
void debugBindWindow(nativeapi.Window? window) => bindWindow(window);