QueryBuilderCondition<T> typedef

QueryBuilderCondition<T> = FutureOr<bool> Function(QueryState<T> oldState, QueryState<T> newState)

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

Implementation

typedef QueryBuilderCondition<T> = FutureOr<bool> Function(
  QueryState<T> oldState,
  QueryState<T> newState,
);