MetricAbsence.fromJson constructor
MetricAbsence.fromJson(
- Map json_
Implementation
MetricAbsence.fromJson(core.Map json_)
: this(
aggregations: json_.containsKey('aggregations')
? (json_['aggregations'] as core.List)
.map((value) => Aggregation.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
duration: json_.containsKey('duration')
? json_['duration'] as core.String
: null,
filter: json_.containsKey('filter')
? json_['filter'] as core.String
: null,
trigger: json_.containsKey('trigger')
? Trigger.fromJson(
json_['trigger'] as core.Map<core.String, core.dynamic>)
: null,
);