onbeforeunload top-level property

dynamic Function(BeforeUnloadEvent)? get onbeforeunload

Implementation

_i2.dynamic Function(_i3.BeforeUnloadEvent)? get onbeforeunload =>
    (_i3.BeforeUnloadEvent p0) => _i4.callMethod(
          _i4.getProperty(
            _self,
            'onbeforeunload',
          ),
          r'call',
          [
            _self,
            p0,
          ],
        );