Creates a RxStream from a stream. {@tool snippet}
stream
final rxStream = RxStream.of(stream);
{@end-tool}
static RxStream<T> of<T>(Stream<T> stream) => RxStream._(stream);