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