to<R> method
Implementation
FutureOr<Tuple<T, R>> to<R>(FutureOr<R> mapper(T input)) {
final other = this.then((resolved) {
return mapper(resolved).thenOr((second) {
return Tuple<T, R>(resolved, second);
});
});
return other.unbox();
}