hasError property

bool get hasError

Whether the computed value has an error

Implementation

bool get hasError => _lastError != null;