hasErrors property

bool get hasErrors

Implementation

bool get hasErrors => validation.errors.isNotEmpty;