error property

Implementation

SpeechRecognitionErrorCode get error =>
    SpeechRecognitionErrorCode.fromValue(js_util.getProperty(this, 'error'));
set error (SpeechRecognitionErrorCode newValue)

Implementation

set error(SpeechRecognitionErrorCode newValue) {
  js_util.setProperty(this, 'error', newValue.value);
}