operator + method

RxDouble operator +(
  1. double other
)

Addition operator. dart doesn't have operator++

Implementation

RxDouble operator +(double 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
}