setCustomValidity method

void setCustomValidity(
  1. String error
)

Implementation

void setCustomValidity(String error) =>
    js_util.callMethod(this, 'setCustomValidity', [error]);