setBadgeBackgroundColor method

Future<void> setBadgeBackgroundColor(
  1. SetBadgeBackgroundColorDetails details
)

Sets the background color for the badge.

Implementation

Future<void> setBadgeBackgroundColor(
    SetBadgeBackgroundColorDetails details) async {
  await $js.chrome.action.setBadgeBackgroundColor(details.toJS).toDart;
}