operator - method Null safety

num operator -(
  1. num other
)

Subtraction operator.

Implementation

num operator -(num other) {
  value -= other;
  return value;
}