setValue method
Implementation
void setValue(String value) {
if (input != null) {
if (input?.tagName == "INPUT") {
(input as HTMLInputElement).value = value;
}
if (input?.tagName == "TEXTAREA") {
(input as HTMLTextAreaElement).value = value;
}
}
}