setDesktopMaxWindowSize function
Implementation
Future<void> setDesktopMaxWindowSize(Size size) async {
if (!supportPlatformDesktop) return;
curiosityChannel.invokeMethod<dynamic>('setMaxWindowSize',
<String, double>{'width': size.width, 'height': size.height});
}