MetricsApp constructor

MetricsApp({
  1. Key? key,
  2. required Widget child,
  3. required List<Metric> metrics,
  4. Metric? defaultMetric,
})

Implementation

MetricsApp({
  Key? key,
  required this.child,
  required this.metrics,
  this.defaultMetric,
})  : assert(metrics.isNotEmpty),
      super(key: key) {
  // MetricsApp Init
}