operator - method

RxDouble operator -(
  1. double other
)

Subtraction operator.

Implementation

RxDouble operator -(double other) {
  return (value - other).rx
    ..copyInfo(this)
    ..publishRxAspects(); // in case -- operator, publish the rx aspects
}