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