void setSelectionRange(int start, int end, [ String direction ])

Source

void setSelectionRange(int start, int end, [String direction]) {
  if (direction != null) {
    _blink.BlinkHTMLInputElement.instance
        .setSelectionRange_Callback_3_(this, start, end, direction);
    return;
  }
  _blink.BlinkHTMLInputElement.instance
      .setSelectionRange_Callback_2_(this, start, end);
  return;
}