operator - method

RxInt operator -(
  1. int other
)

Subtraction operator.

Implementation

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