core.Map<core.String, core.dynamic> toJson() => { if (actionMetrics != null) 'actionMetrics': actionMetrics!, if (overallMetrics != null) 'overallMetrics': overallMetrics!, };