W3cubDocs

/Dart 2

SpeechRecognitionError constructor

SpeechRecognitionError(String type, [ 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);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-html/SpeechRecognitionError/SpeechRecognitionError.html