map<B> method
Maps this
GenericPod to a new ChildPod using the specified reducer
.
Implementation
ChildPod<T, B> map<B>(B Function(T? value) reducer) {
return ChildPod<T, B>._(
responder: () => [this],
reducer: (e) => reducer(e.firstOrNull),
);
}