getValue method

String getValue()

Implementation

String getValue() {
  if (input != null) {
    if (input?.tagName == "INPUT") {
      return (input as HTMLInputElement).value;
    }

    if (input?.tagName == "TEXTAREA") {
      return (input as HTMLTextAreaElement).value;
    }
  }

  return "";
}