MetricDescriptor_MetricDescriptorMetadata constructor

MetricDescriptor_MetricDescriptorMetadata({
  1. @Deprecated('This field is deprecated.') LaunchStage? launchStage,
  2. Duration? samplePeriod,
  3. Duration? ingestDelay,
})

Implementation

factory MetricDescriptor_MetricDescriptorMetadata({
@$core.Deprecated('This field is deprecated.')
  $3.LaunchStage? launchStage,
  $2.Duration? samplePeriod,
  $2.Duration? ingestDelay,
}) {
  final _result = create();
  if (launchStage != null) {
    // ignore: deprecated_member_use_from_same_package
    _result.launchStage = launchStage;
  }
  if (samplePeriod != null) {
    _result.samplePeriod = samplePeriod;
  }
  if (ingestDelay != null) {
    _result.ingestDelay = ingestDelay;
  }
  return _result;
}