getCurrentScreen method
Get full screen info for the screen a window is currently on.
Unlike getWindowScreen which returns just the index, this returns complete ScreenInfo including bounds, work area, and scale factor.
Implementation
Future<ScreenInfo?> getCurrentScreen(String id) async {
final result = await sendForMap('getCurrentScreen', windowId: id);
if (result == null) return null;
return ScreenInfo.fromMap(result);
}