PerformanceInsights.fromJson constructor
PerformanceInsights.fromJson(
- Map json_
Implementation
PerformanceInsights.fromJson(core.Map json_)
: this(
avgPreviousExecutionMs: json_.containsKey('avgPreviousExecutionMs')
? json_['avgPreviousExecutionMs'] as core.String
: null,
stagePerformanceChangeInsights:
json_.containsKey('stagePerformanceChangeInsights')
? (json_['stagePerformanceChangeInsights'] as core.List)
.map((value) => StagePerformanceChangeInsight.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
stagePerformanceStandaloneInsights: json_
.containsKey('stagePerformanceStandaloneInsights')
? (json_['stagePerformanceStandaloneInsights'] as core.List)
.map((value) => StagePerformanceStandaloneInsight.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);