hasErrors property

bool get hasErrors

Returns true if there are any errors

Implementation

bool get hasErrors => _errors.isNotEmpty;