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