operator - method Null safety

RxnInt operator -(
  1. int other
)

Subtraction operator.

Implementation

RxnInt operator -(int other) {
  if (value != null) {
    value = value! - other;
  }
  return this;
}