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