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