SpeechRecognitionEventInit constructor

SpeechRecognitionEventInit({
  1. int? resultIndex,
  2. SpeechRecognitionResultList? results,
})

Implementation

factory SpeechRecognitionEventInit(
        {int? resultIndex, SpeechRecognitionResultList? results}) =>
    SpeechRecognitionEventInit._(
        resultIndex: resultIndex ?? 0, results: results ?? undefined);