onsecuritypolicyviolation property

dynamic Function(SecurityPolicyViolationEvent)? get onsecuritypolicyviolation

Implementation

_i2.dynamic Function(_i3.SecurityPolicyViolationEvent)?
    get onsecuritypolicyviolation =>
        (_i3.SecurityPolicyViolationEvent p0) => _i4.callMethod(
              _i4.getProperty(
                this,
                'onsecuritypolicyviolation',
              ),
              r'call',
              [
                this,
                p0,
              ],
            );
set onsecuritypolicyviolation (dynamic value(SecurityPolicyViolationEvent)?)

Implementation

set onsecuritypolicyviolation(
    _i2.dynamic Function(_i3.SecurityPolicyViolationEvent)? value) {
  _i4.setProperty(
    this,
    'onsecuritypolicyviolation',
    value == null ? _i6.undefined : _i4.allowInterop(value),
  );
}