allMetrics property

List<Metrics<Message>> get allMetrics

A list of all the metrics to iterate over.

NOTE: Keep this as a getter, NOT a field. If this is made a field, then it won't update when new data is received. As a getter, every time it is called it will use new data.

Implementation

List<Metrics> get allMetrics => [vitals, position, drive, science, arm, gripper];