allMetrics property
- @override
override
A list of user-friendly explanations for each of the metrics.
Be sure to store the actual values as fields. This property should be a list of one user-friendly explanation per metric.
Implementation
@override
List<MetricLine> get allMetrics => [
MetricLine("CO2: ${data.co2.toStringAsFixed(3)}"),
MetricLine("Temperature: ${data.temperature.toStringAsFixed(3)}"),
MetricLine("Humidity: ${data.humidity.toStringAsFixed(3)}"),
];