operator - method

  1. @override
Fahrenheit operator -(
  1. Object subtract
)
override

Subtract num or Temperature in the same measurment.

Implementation

@override
Fahrenheit operator -(Object subtract) =>
    Fahrenheit(this.value - _getOtherValue(subtract));