ValueStreamBuilderCondition<M, T> typedef
ValueStreamBuilderCondition<M, T> =
bool Function(T? preDistinct, T? curDistinct, M current)
Signature for the buildWhen
function which takes the previous and
current value
and is responsible for returning a bool which
determines whether to rebuild ValueStreamBuilder with the current value
.
Implementation
typedef ValueStreamBuilderCondition<M, T> =
bool Function(T? preDistinct, T? curDistinct, M current);