AzureSpeechRecognitionService constructor

AzureSpeechRecognitionService({
  1. required TextEditingController textController,
  2. required String localeId,
  3. required String azureKey,
  4. required String azureRegion,
  5. required bool micOn,
})

Implementation

AzureSpeechRecognitionService({
  required this.textController,
  required String localeId,
  required String azureKey,
  required String azureRegion,
  required this.micOn,
}) :_localeId = localeId,
      _azureKey = azureKey,
      _azureRegion = azureRegion{
  _initializeWithRetry();
}