void setRangeText(String replacement, {int start, int end, String selectionMode})

Source

void setRangeText(String replacement, {int start, int end, String selectionMode}) {
  if ((replacement is String || replacement == null) && start == null && end == null && selectionMode == null) {
    _blink.BlinkHTMLInputElement.instance.setRangeText_Callback_1_(this, replacement);
    return;
  }
  if ((end is int || end == null) && (start is int || start == null) && (replacement is String || replacement == null) && selectionMode == null) {
    _blink.BlinkHTMLInputElement.instance.setRangeText_Callback_3_(this, replacement, start, end);
    return;
  }
  if ((selectionMode is String || selectionMode == null) && (end is int || end == null) && (start is int || start == null) && (replacement is String || replacement == null)) {
    _blink.BlinkHTMLInputElement.instance.setRangeText_Callback_4_(this, replacement, start, end, selectionMode);
    return;
  }
  throw new ArgumentError("Incorrect number or type of arguments");
}