Temperature constructor
Temperature({})
Creates a Temperature object.
Implementation
Temperature({
required super.type,
required super.id,
this.idV1 = "",
required this.owner,
required this.isEnabled,
required this.temperatureCelsius,
required this.isValidTemperature,
}) : assert(idV1.isEmpty || Validators.isValidIdV1(idV1),
'"$idV1" is not a valid `idV1`'),
_originalIsEnabled = isEnabled;