fails property

bool get fails

Returns true if validation failed.

Implementation

bool get fails => errors.isNotEmpty;