hasError property

bool get hasError

Indicates if an error has occurred or not.

Implementation

bool get hasError => _error != null;