hasError property

bool get hasError

Whether an error has occurred.

Implementation

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