setBackgroundColor method
Set background color.
Implementation
Future<void> setBackgroundColor(String id, Color? color) async {
await send<void>('setBackgroundColor', windowId: id, params: {
if (color != null) 'color': color.toARGB32() else 'color': null,
});
}