mapTo<R> method
Emits the given constant value on the output Single when the source Single emits a value.
Example
Single.value(1)
.mapTo(true)
.listen(print); // prints true
Implementation
Single<R> mapTo<R>(R value) => Single.safe(MapToExtension(this).mapTo(value));