onerror property

dynamic Function(ErrorEvent)? get onerror

Implementation

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

Implementation

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