JobMetrics.fromJson constructor
JobMetrics.fromJson(
- Map json_
Implementation
JobMetrics.fromJson(core.Map json_)
: this(
metricTime: json_.containsKey('metricTime')
? json_['metricTime'] as core.String
: null,
metrics: json_.containsKey('metrics')
? (json_['metrics'] as core.List)
.map((value) => MetricUpdate.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);