hasError property

bool get hasError

Whether an error occurred.

Implementation

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