validity property

ValidityState get validity

Returns a ValidityState object that represents the validity states of an element.

MDN Reference

Implementation

_i3.ValidityState get validity => _i4.getProperty(
      this,
      'validity',
    );