From 3a730bbfafd6891879e9024c4c8a3906609a3926 Mon Sep 17 00:00:00 2001 From: sowens-csd Date: Tue, 3 Mar 2020 15:46:59 -0500 Subject: [PATCH] fix: test case fix for new listen arg map --- test/speech_to_text_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/speech_to_text_test.dart b/test/speech_to_text_test.dart index 213f3f8c..3d1db5a9 100644 --- a/test/speech_to_text_test.dart +++ b/test/speech_to_text_test.dart @@ -72,7 +72,7 @@ void main() { break; case SpeechToText.listenMethod: listenInvoked = true; - listenLocale = methodCall.arguments; + listenLocale = methodCall.arguments["localeId"]; await speech.processMethodCall(MethodCall( SpeechToText.notifyStatusMethod, listeningStatusResponse)); return initResult;