hasErrors property

bool hasErrors

Implementation

bool get hasErrors => errors.isNotEmpty;