hasError property

bool hasError

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

Implementation

bool get hasError => _latestSnapshot.hasError;