hasErrors property

bool get hasErrors

Implementation

bool get hasErrors => errors.isNotEmpty;