SecurityPolicyViolationEventInit constructor

SecurityPolicyViolationEventInit({
  1. String? blockedURI,
  2. num? columnNumber,
  3. SecurityPolicyViolationEventDisposition? disposition,
  4. String? documentURI,
  5. String? effectiveDirective,
  6. num? lineNumber,
  7. String? originalPolicy,
  8. String? referrer,
  9. String? sample,
  10. String? sourceFile,
  11. num? statusCode,
  12. String? violatedDirective,
  13. bool? bubbles,
  14. bool? cancelable,
  15. bool? composed,
})

Implementation

factory SecurityPolicyViolationEventInit({
  _i2.String? blockedURI,
  _i2.num? columnNumber,
  _i3.SecurityPolicyViolationEventDisposition? disposition,
  _i2.String? documentURI,
  _i2.String? effectiveDirective,
  _i2.num? lineNumber,
  _i2.String? originalPolicy,
  _i2.String? referrer,
  _i2.String? sample,
  _i2.String? sourceFile,
  _i2.num? statusCode,
  _i2.String? violatedDirective,
  _i2.bool? bubbles,
  _i2.bool? cancelable,
  _i2.bool? composed,
}) =>
    SecurityPolicyViolationEventInit._(
      blockedURI: blockedURI,
      columnNumber: columnNumber,
      disposition: disposition?.name ?? _i6.undefined,
      documentURI: documentURI,
      effectiveDirective: effectiveDirective,
      lineNumber: lineNumber,
      originalPolicy: originalPolicy,
      referrer: referrer,
      sample: sample,
      sourceFile: sourceFile,
      statusCode: statusCode,
      violatedDirective: violatedDirective,
      bubbles: bubbles,
      cancelable: cancelable,
      composed: composed,
    );