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