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