setDockTile method

Future<void> setDockTile({
  1. String? badgeLabel,
  2. String? image,
})

Set dock tile details, platform-specific. image Png encoded image.

Implementation

Future<void> setDockTile({String? badgeLabel, String? image}) async {
  await _client.send('Browser.setDockTile', {
    if (badgeLabel != null) 'badgeLabel': badgeLabel,
    if (image != null) 'image': image,
  });
}