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