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("GPS: "),
MetricLine(" Latitude: ${data.gps.latitude.toStringAsFixed(6)}°",),
MetricLine(" Longitude: ${data.gps.longitude.toStringAsFixed(6)}°",),
MetricLine(" Altitude: ${data.gps.altitude.toStringAsFixed(2)} m"),
MetricLine("Orientation:",),
MetricLine(" X: ${data.orientation.x.toStringAsFixed(2)}°", severity: getRotationSeverity(data.orientation.x)),
MetricLine(" Y: ${data.orientation.y.toStringAsFixed(2)}°", severity: getRotationSeverity(data.orientation.y)),
MetricLine(" Z: ${data.orientation.z.toStringAsFixed(2)}°"),
MetricLine("Distance: ${data.gps.distanceTo(baseStation).toStringAsFixed(2)} m",),
];