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