onerror property

dynamic Function(SpeechSynthesisErrorEvent)? get onerror

Implementation

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

Implementation

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