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