isPending property

bool get isPending

Whether the mutation is currently pending.

This is equivalent to checking if the mutation state is MutationPending.

Implementation

bool get isPending => this is MutationPending<ResultT>;