menu
os_basecode package
documentation
os_basecode.dart
MapToExtension extension
MapToExtension extension
dark_mode
light_mode
MapToExtension<
S
>
extension
Extends the Stream class with the ability to convert each item to the same value.
on
Stream
<
S
>
Methods
mapTo
<
T
>
(
T
value
)
→
Stream
<
T
>
Emits the given constant value on the output Stream every time the source Stream emits a value.
os_basecode package
documentation
os_basecode
MapToExtension extension
os_basecode library