isError property

bool get isError

Whether the mutation is in an error state.

Implementation

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