SpeechRecognitionError 构造函数

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

实现

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