getWindowScreen method
Get the screen a window is on.
Implementation
Future<int> getWindowScreen(String id) async {
final result = await send<int>('getWindowScreen', windowId: id);
if (result == null) {
debugPrint('[ScreenClient] getWindowScreen($id) returned null — using fallback');
return 0;
}
return result;
}