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 promiseToFuture<$js_browser_action.ColorArray>(
      $js.chrome.action.getBadgeBackgroundColor(details.toJS));
  return $res.toDart.cast<int>().map((e) => e).toList();
}