Temperature.ofKelvin constructor

Temperature.ofKelvin(
  1. num kelvin, {
  2. Precision precision = Precision.max,
})

Constructs a Temperature from a Kelvin amount.

Implementation

Temperature.ofKelvin(
  final num kelvin, {
  final Precision precision = Precision.max,
}) : this._(
        kelvin,
        precision,
        TemperatureChangeInterpreter._kelvin,
      );