hasError property
bool
get
hasError
Whether the mutation has completed with an error.
This is equivalent to checking if the mutation state is MutationError.
Implementation
bool get hasError => this is MutationError<ResultT>;