validity property

ValidityState get validity

Returns the ValidityState object for internals's target element.

MDN Reference

Implementation

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