MetricDescriptorMetadata.fromJson constructor

MetricDescriptorMetadata.fromJson(
  1. Map json_
)

Implementation

MetricDescriptorMetadata.fromJson(core.Map json_)
    : this(
        ingestDelay: json_.containsKey('ingestDelay')
            ? json_['ingestDelay'] as core.String
            : null,
        launchStage: json_.containsKey('launchStage')
            ? json_['launchStage'] as core.String
            : null,
        samplePeriod: json_.containsKey('samplePeriod')
            ? json_['samplePeriod'] as core.String
            : null,
      );