setInputValue function

void setInputValue(
  1. dynamic input,
  2. String value
)

Implementation

void setInputValue(input, String value) {
  assert(isInputElement(input));
  if (input != null)
    input.value = value;
}