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