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