SpeechRecognitionEvent 构造函数

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

实现

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);
}