static Future setWindowSize(Size size) async { return await _channel.invokeMethod( 'setWindowSize', {'width': size.width, 'height': size.height}); }