getAttributeType method Null safety

String? getAttributeType(
  1. String tagName,
  2. String attribute,
  3. [String? elementNs = '',
  4. String? attrNs = '']
)

Allows web developers to check whether a Trusted Type is required for an element and attribute, and if so which one. var attributeType = TrustedTypePolicyFactory.getAttributeType(tagName,attribute,elementNs,attrNs);

Implementation

external String? getAttributeType(String tagName, String attribute,
    [String? elementNs = '', String? attrNs = '']);