hasError property

bool get hasError

Whether last emitted value is an error. In which case error is not null.

Implementation

bool get hasError => _latestSnapshot.hasError;