PredicateAspect<T> typedef

PredicateAspect<T> = bool Function({required T next, required T prev})

Given T return whether you should be notified or not.

Implementation

typedef PredicateAspect<T> = bool Function({required T prev, required T next});