hasError property

bool get hasError

Whether the cached result is an error.

Implementation

bool get hasError => _result?.error != null;