hasError property

bool get hasError

True if an error description is present.

Implementation

bool get hasError => errorDescription != null;