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