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