operator - method

num? operator -(
  1. num other
)

Subtraction operator.

Implementation

num? operator -(num other) {
  if (value != null) {
    value = value! - other;
    return value;
  }
  return null;
}