SpeechRecognitionEvent constructor

SpeechRecognitionEvent(
  1. String type, [
  2. Map? initDict
])

Implementation

factory SpeechRecognitionEvent(String type, [Map? initDict]) {
  if (initDict != null) {
    var initDict_1 = convertDartToNative_Dictionary(initDict);
    return SpeechRecognitionEvent._create_1(type, initDict_1);
  }
  return SpeechRecognitionEvent._create_2(type);
}