-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
detectIntent function ERROR #23
Comments
I am facing the same issue. Can't find anything on net that works for this problem. |
Hi guys, I recommend you not to use this package and instead use your own implementation. It's not that much harder, and following this pattern will make use of the best practice googleapis package for accessing your resources, rather than HTTPS as implemented in this package. Here is a gist of a simple connection & query in the form of a dialogflow provider. I hope it helps!
|
Hi everyone. Complementing @AlexHartford response, maybe you do not want to handle every use case in your implementation. You can use a package that is getting updated constantly like DialogFlowtter This package is gonna be maintained for a time, and when I'm not able to maintain it anymore, is gonna be donated to Flutter Community to be maintained there. Feedback is welcome. Greetings |
NoSuchMethodError: The method '[]' was called on null.
I/flutter ( 4808): Receiver: null
I/flutter ( 4808): Tried calling:
above error is thrown when a input is sent through the post request.
var response = await authGoogle.post(_getUrl(),
headers: {
HttpHeaders.authorizationHeader: "Bearer ${authGoogle.getToken}"
},
body: body);
CAN SOMEONE FIX THIS ISSUE OR AT LEAST EXPLAIN THE SOLUTION? I"M WILLING TO LISTEN AND LEARN
The text was updated successfully, but these errors were encountered: