Rx<T>.of constructor

Rx<T>.of(
  1. T value
)

Factory constructor for automatic type inference.

Usage: Rx.of(0) instead of Rx<int>(0).

Implementation

factory Rx.of(T value) => Rx<T>(value);