void scrollTo([options_OR_x, num y])

Source

void scrollTo([options_OR_x, num y]) {
  if (options_OR_x == null && y == null) {
    _blink.BlinkElement.instance.scrollTo_Callback_0_(unwrap_jso(this));
    return;
  }
  if ((options_OR_x is Map) && y == null) {
    _blink.BlinkElement.instance.scrollTo_Callback_1_(unwrap_jso(this), unwrap_jso(options_OR_x));
    return;
  }
  if ((y is num) && (options_OR_x is num)) {
    _blink.BlinkElement.instance.scrollTo_Callback_2_(unwrap_jso(this), unwrap_jso(options_OR_x), y);
    return;
  }
  throw new ArgumentError("Incorrect number or type of arguments");
}