onload property

dynamic Function(ProgressEvent<EventTarget>)? get onload

Implementation

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

Implementation

set onload(_i2.dynamic Function(_i3.ProgressEvent<_i3.EventTarget>)? value) {
  _i4.setProperty(
    this,
    'onload',
    value == null ? _i6.undefined : _i4.allowInterop(value),
  );
}