SpeechRecognitionError constructor

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

Implementation

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