1. @DomName('HTMLButtonElement.setCustomValidity')
  2. @DocsEditable()
void setCustomValidity(String error)

Source

@DomName('HTMLButtonElement.setCustomValidity')
@DocsEditable()
void setCustomValidity(String error) => _blink.BlinkHTMLButtonElement.instance
    .setCustomValidity_Callback_1_(this, error);