isError property

bool get isError

Whether the mutation failed with an error.

Implementation

bool get isError => _status.value == MutationStatus.error;