operator - method

num operator -(
  1. num other
)

Subtracts other from this number.

The result is a double, as described by double.-, if both this and other is a double, otherwise the result is a int.

Implementation

num operator -(num other) => value - other;