Temperature constructor

Temperature(
  1. double inCelsius,
  2. double inFahrenheit
)

Creates a new temperature with the specified Celsius and Fahrenheit values.

Note: This constructor doesn't automatically convert between units. Both values must be provided in their respective units.

Implementation

Temperature(this.inCelsius, this.inFahrenheit);