SpeechRecognitionErrorEventInit constructor

SpeechRecognitionErrorEventInit({
  1. required SpeechRecognitionErrorCode error,
  2. String? message,
})

Implementation

factory SpeechRecognitionErrorEventInit(
        {required SpeechRecognitionErrorCode error, String? message}) =>
    SpeechRecognitionErrorEventInit._(
        error: error.value, message: message ?? '');