CSPViolationType class Null safety

CSP Violation type.

Constructors

CSPViolationType.fromJson(String value)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() String
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override

Constants

trustedtypePolicyViolation → const CSPViolationType
CSPViolationType._('trustedtype-policy-violation')
trustedtypeSinkViolation → const CSPViolationType
CSPViolationType._('trustedtype-sink-violation')
values → const Map<String, CSPViolationType>
{'trustedtype-sink-violation' : trustedtypeSinkViolation, 'trustedtype-policy-violation' : trustedtypePolicyViolation}