DailyMetricTimeSeries.fromJson constructor

DailyMetricTimeSeries.fromJson(
  1. Map json_
)

Implementation

DailyMetricTimeSeries.fromJson(core.Map json_)
    : this(
        dailyMetric: json_.containsKey('dailyMetric')
            ? json_['dailyMetric'] as core.String
            : null,
        dailySubEntityType: json_.containsKey('dailySubEntityType')
            ? DailySubEntityType.fromJson(json_['dailySubEntityType']
                as core.Map<core.String, core.dynamic>)
            : null,
        timeSeries: json_.containsKey('timeSeries')
            ? TimeSeries.fromJson(
                json_['timeSeries'] as core.Map<core.String, core.dynamic>)
            : null,
      );