setDesktopWindowSize method
Implementation
Future<bool> setDesktopWindowSize(Size size) async {
if (!Internal.supportPlatformDesktop) return false;
final bool? state = await Internal.curiosityChannel.invokeMethod<bool?>(
'setWindowSize',
<String, double>{'width': size.width, 'height': size.height});
return state ?? false;
}