MetricSpec constructor

const MetricSpec({
  1. ContainerResourceMetricSource? containerResource,
  2. ExternalMetricSource? external,
  3. ObjectMetricSource? object,
  4. PodsMetricSource? pods,
  5. ResourceMetricSource? resource,
  6. required String type,
})

The main constructor.

Implementation

const MetricSpec({
  this.containerResource,
  this.external,
  this.object,
  this.pods,
  this.resource,
  required this.type,
});