Temperature class

Represents a temperature measurement with multiple unit representations.

Stores temperature values in both Celsius and Fahrenheit scales.

Constructors

Temperature(double inCelsius, double inFahrenheit)
Creates a new temperature with the specified Celsius and Fahrenheit values.

Properties

hashCode int
The hash code for this object.
no setterinherited
inCelsius double
The temperature value in degrees Celsius (°C).
getter/setter pair
inFahrenheit double
The temperature value in degrees Fahrenheit (°F).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited