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