operator - method Null safety

Rx<double> operator -(
  1. num other
)

Subtraction operator.

Implementation

Rx<double> operator -(num other) {
  value = value - other;
  return this;
}