1. DomName('HTMLInputElement.setCustomValidity')
void setCustomValidity(String error)

Source

@DomName('HTMLInputElement.setCustomValidity')
void setCustomValidity(String error);