Creates a new stream that converts each element of this stream
to a new value using the convert
function.
The returned stream is a broadcast stream if this stream is.
If a broadcast stream is listened to more than once, each subscription
will individually execute map
for each event.
Source
Stream map(convert(T event)) {
return new _MapStream<T, dynamic>(this, convert);
}