BasicPerfSampleSeries.fromJson constructor

BasicPerfSampleSeries.fromJson(
  1. Map _json
)

Implementation

BasicPerfSampleSeries.fromJson(core.Map _json)
    : this(
        perfMetricType: _json.containsKey('perfMetricType')
            ? _json['perfMetricType'] as core.String
            : null,
        perfUnit: _json.containsKey('perfUnit')
            ? _json['perfUnit'] as core.String
            : null,
        sampleSeriesLabel: _json.containsKey('sampleSeriesLabel')
            ? _json['sampleSeriesLabel'] as core.String
            : null,
      );