setDefaultBackgroundColorOverride method
Sets or clears an override of the default background color of the frame. This override is used
if the content does not specify one.
color
RGBA of the default background color. If not specified, any existing override will be
cleared.
Implementation
Future<void> setDefaultBackgroundColorOverride({dom.RGBA? color}) async {
await _client.send('Emulation.setDefaultBackgroundColorOverride', {
if (color != null) 'color': color,
});
}