hasError property

bool get hasError

Implementation

bool get hasError => _state == _SnapshotState.error;