Metric constructor

Metric({
  1. required String name,
  2. required num value,
})

Implementation

Metric({required this.name, required this.value});