hasError property

bool get hasError

Whether the controller is in an error state.

When true errorDescription describes the error.

Implementation

bool get hasError => errorDescription != null;