Metric constructor

Metric({
  1. required String key,
  2. required Dimension dimensions,
  3. required int type,
  4. required int count,
  5. double? duration,
})

Implementation

Metric({
  required this.key,
  required this.dimensions,
  required this.type,
  required this.count,
  this.duration,
});