of<T> static method

RxStream<T> of<T>(
  1. Stream<T> stream
)

Creates a RxStream from a stream. {@tool snippet}

final rxStream = RxStream.of(stream);

{@end-tool}

Implementation

static RxStream<T> of<T>(Stream<T> stream) => RxStream._(stream);