PropsTrustedTypePolicyFactory extension

on

Properties

defaultPolicy TrustedTypePolicy?
no setter
emptyHTML TrustedHTML
no setter
emptyScript TrustedScript
no setter

Methods

createPolicy(String policyName, [TrustedTypePolicyOptions? policyOptions]) TrustedTypePolicy
getAttributeType(String tagName, String attribute, [String? elementNs = '', String? attrNs = '']) String?
getPropertyType(String tagName, String property, [String? elementNs = '']) String?
isHTML(dynamic value) bool
isScript(dynamic value) bool
isScriptURL(dynamic value) bool