hasErrors property

bool get hasErrors

true when at least one error was recorded.

Implementation

bool get hasErrors => errors.isNotEmpty;