MetricRange.fromJson constructor

MetricRange.fromJson(
  1. Map json_
)

Implementation

MetricRange.fromJson(core.Map json_)
    : this(
        range: json_.containsKey('range')
            ? GoogleMonitoringV3Range.fromJson(
                json_['range'] as core.Map<core.String, core.dynamic>)
            : null,
        timeSeries: json_.containsKey('timeSeries')
            ? json_['timeSeries'] as core.String
            : null,
      );