isError property

bool get isError

Whether this is a MutationError: the last run failed for good, and errorOrNull holds why.

Implementation

bool get isError => this is MutationError<TData, TVariables>;