operator - method

num operator -(
  1. Object? value
)

Operator -, using asNum for this.value and parseNum(value) for parameter.

Implementation

num operator -(Object? value) => asNum! - parseNum(value)!;