isError property

bool get isError

Whether the future has errored

Implementation

bool get isError => _state.value.isError;