SecurityPolicyViolationEvent constructor

SecurityPolicyViolationEvent(
  1. String type, [
  2. SecurityPolicyViolationEventInit? eventInitDict
])

Implementation

factory SecurityPolicyViolationEvent(
  _i2.String type, [
  _i3.SecurityPolicyViolationEventInit? eventInitDict,
]) =>
    _i4.callConstructor(
      _declaredSecurityPolicyViolationEvent,
      [
        type,
        eventInitDict ?? _i6.undefined,
      ],
    );