getBadgeBackgroundColor method

Future<List<int>> getBadgeBackgroundColor(
  1. TabDetails details
)

Gets the background color of the action.

Implementation

Future<List<int>> getBadgeBackgroundColor(TabDetails details) async {
  var $res =
      await $js.chrome.action.getBadgeBackgroundColor(details.toJS).toDart;
  return $res.toDart.cast<JSNumber>().map((e) => e.toDartInt).toList();
}