operator + method

RxNum operator +(
  1. num other
)

Addition operator. dart doesn't have operator++

Implementation

RxNum operator +(num other) {
  // work around for ++ operator
  // ++ operator needs to publish rx asprects
  return (value + other).rx
    ..copyInfo(this)
    ..publishRxAspects(); // in case ++ operator, publish the rx aspects
}