hasError property

bool get hasError

Whether the query has an error

Implementation

bool get hasError => error.value != null;