ReducerPod<T>.single constructor
ReducerPod<T>.single (
- ValueListenable<
T> responder()
Implementation
factory ReducerPod.single(
ValueListenable<T> Function() responder,
) {
return ReducerPod(
responder: () => [responder()],
reducer: (values) => values.first as T,
);
}