getPermissionWarningsById method
Returns a list of permission
warnings for the given extension
id.
id The ID of an already installed extension.
Implementation
Future<List<String>> getPermissionWarningsById(String id) async {
  var $res = await promiseToFuture<JSArray>(
      $js.chrome.management.getPermissionWarningsById(id));
  return $res.toDart.cast<String>().map((e) => e).toList();
}