select<R> method

SelectFilteredProvider<N, S, R> select<R>(
  1. SelectCallback<S, R> callback, {
  2. String? tag,
  3. bool booleanCallback = false,
})

Implementation

SelectFilteredProvider<N, S, R> select<R>(
  SelectCallback<S, R> callback, {
  String? tag,
  bool booleanCallback = false,
}) {
  return SelectFilteredProvider(
    callback: callback,
    notifier: read(tag: tag),
    listenWhenTheCallbackReturnsTrue: booleanCallback,
  );
}