securityPolicyViolationEvent constant Null safety

EventStreamProvider<SecurityPolicyViolationEvent> const securityPolicyViolationEvent

Static factory designed to expose securitypolicyviolation events to event handlers that are not necessarily instances of Document.

See EventStreamProvider for usage information.

Implementation

securityPolicyViolationEvent =
const EventStreamProvider<SecurityPolicyViolationEvent>(
    'securitypolicyviolation')