isInvalid property

bool get isInvalid

Returns true if the validation failed.

Implementation

bool get isInvalid => !_isValid;