validationMessage property

String validationMessage

Returns the error message that would be shown to the user if internals's target element was to be checked for validity.

MDN Reference

Implementation

_i2.String get validationMessage => _i4.getProperty(
      this,
      'validationMessage',
    );