ScienceData({ - int? sample,
- ScienceState? state,
- double? co2,
- double? humidity,
- double? temperature,
- Version? version,
})
Implementation
factory ScienceData({
$core.int? sample,
ScienceState? state,
$core.double? co2,
$core.double? humidity,
$core.double? temperature,
$2.Version? version,
}) {
final $result = create();
if (sample != null) {
$result.sample = sample;
}
if (state != null) {
$result.state = state;
}
if (co2 != null) {
$result.co2 = co2;
}
if (humidity != null) {
$result.humidity = humidity;
}
if (temperature != null) {
$result.temperature = temperature;
}
if (version != null) {
$result.version = version;
}
return $result;
}