WindowsBasedSli.fromJson constructor
WindowsBasedSli.fromJson(
- Map json_
Implementation
WindowsBasedSli.fromJson(core.Map json_)
: this(
goodBadMetricFilter: json_.containsKey('goodBadMetricFilter')
? json_['goodBadMetricFilter'] as core.String
: null,
goodTotalRatioThreshold: json_.containsKey('goodTotalRatioThreshold')
? PerformanceThreshold.fromJson(json_['goodTotalRatioThreshold']
as core.Map<core.String, core.dynamic>)
: null,
metricMeanInRange: json_.containsKey('metricMeanInRange')
? MetricRange.fromJson(json_['metricMeanInRange']
as core.Map<core.String, core.dynamic>)
: null,
metricSumInRange: json_.containsKey('metricSumInRange')
? MetricRange.fromJson(json_['metricSumInRange']
as core.Map<core.String, core.dynamic>)
: null,
windowPeriod: json_.containsKey('windowPeriod')
? json_['windowPeriod'] as core.String
: null,
);