ActiveMetricRestriction.fromJson constructor
ActiveMetricRestriction.fromJson(
- Map json_
Implementation
ActiveMetricRestriction.fromJson(core.Map json_)
: this(
metricName: json_.containsKey('metricName')
? json_['metricName'] as core.String
: null,
restrictedMetricTypes: json_.containsKey('restrictedMetricTypes')
? (json_['restrictedMetricTypes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);