operator + method Null safety

Rx<double> operator +(
  1. num other
)

Addition operator.

Implementation

Rx<double> operator +(num other) {
  value = value + other;
  return this;
}