select<R> method
use this method to rebuild your Consumer when a value has changed or you can use a boolean condition. Check the documentation for more info.
Implementation
Target<Notifier, R> select<R>(_BuildBySelect<Notifier, R> cb) {
// get the Notifier attached to this SimpleProvider
final target = Target<Notifier, R>(read);
target.filter = Filter.select;
target.callback = cb;
return target;
}