initialize method
Initialize speech recognition services, returns true if successful, false if failed.
This method must be called before any other speech functions.
If this method returns false no further SpeechToText
methods
should be used. False usually means that the user has denied
permission to use speech.
options
can be used to control the behaviour of platform specific
implementations.
debugLogging
controls whether there is detailed logging from the underlying
plugins. It is off by default, usually only useful for troubleshooting issues
with a particular OS version or device, fairly verbose
Implementation
Future<bool> initialize(
{debugLogging = false, List<SpeechConfigOption>? options}) {
throw UnimplementedError('initialize() has not been implemented.');
}