hasError property Null safety

bool hasError

True if this field has any validation errors.

Implementation

bool get hasError => _errorText.value != null;