when<R> method
WhenFilteredProvider<N, S>
when<R>(
- BuildWhenCallback<
S> callback, { - String? tag,
- bool booleanCallback = false,
Implementation
WhenFilteredProvider<N, S> when<R>(
BuildWhenCallback<S> callback, {
String? tag,
bool booleanCallback = false,
}) {
return WhenFilteredProvider(
callback: callback,
notifier: read(tag: tag),
);
}