setBounds method
Implementation
Future<bool> setBounds(MethodCall call) {
Map<String, dynamic> args = Map<String, dynamic>.from(call.arguments);
num? x = args['x'];
num? y = args['y'];
num? width = args['width'];
num? height = args['height'];
js.context.callMethod(
'windowManagerPluginSetBounds',
[
js.JsObject.jsify({'x': x, 'y': y, 'width': width, 'height': height}),
],
);
return Future.value(true);
}