hasErrors property

bool hasErrors

True whether the control has validation errors.

Implementation

bool get hasErrors => errors.isNotEmpty;