operator + method

RxInt operator +(
  1. int other
)

Addition operator. dart doesn't have operator++

Implementation

RxInt operator +(int 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
}