TrustedTypePolicy class
The interface of the Trusted Types API
defines a group of
functions which create TrustedType
objects.
A object is created by TrustedTypePolicyFactory.createPolicy()
to define a policy for enforcing security rules on input.
Therefore, has no constructor.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- TrustedTypePolicy()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited