onerror property

void Function(ErrorEvent)? get onerror

Implementation

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

Implementation

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