hasErrors property

bool get hasErrors

Whether any errors were encountered.

Implementation

bool get hasErrors => errors.isNotEmpty;