getBadgeTextColor method

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

Gets the text color of the action.

Implementation

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