to method

dynamic to(
  1. TemperatureUnit unit
)

Implementation

to(TemperatureUnit unit) => value.to(unit);