setSize method
Set window size.
Implementation
Future<void> setSize(
String id,
Size size, {
bool animate = false,
int? durationMs,
String? curve,
}) async {
await send<void>('setSize', windowId: id, params: {
'width': size.width,
'height': size.height,
'animate': animate,
'durationMs': ?durationMs,
'curve': ?curve,
});
}