MutationBuilderCondition<T> typedef

MutationBuilderCondition<T> = FutureOr<bool> Function(MutationState<T> oldState, MutationState<T> newState)

This function is being called everytime the query registered in the MutationBuilder receives new updates and let's you control when the _MutationBuilderState.build method should be called

Implementation

typedef MutationBuilderCondition<T> = FutureOr<bool> Function(
  MutationState<T> oldState,
  MutationState<T> newState,
);