How to manage a variable that doesn’t exist after an api request?
i have this problem, i make an http request on an api, and i am supposed to display a simple message when i have situation = 0 in the response, and it works well but when in the response situation doesn’t exist i have this message and my code doesn’t execute however I specified that in the response situation may not exist. this is the message i get
How to manage a variable that doesn’t exist after an api request?
i have this problem, i make an http request on an api, and i am supposed to display a simple message when i have situation = 0 in the response, and it works well but when in the response situation doesn’t exist i have this message and my code doesn’t execute however I specified that in the response situation may not exist. this is the message i get
Error: Getter ‘cFuture’ isn’t defined for class ‘_EventStreamSubscription’ in Flutter web package
I’m encountering the following error when working with the web package in my Flutter project:
`Error: The getter ‘cFuture’ isn’t defined for the class ‘_EventStreamSubscription’.
After changing it to FieldType.password, I can’t log in because I get an error saying the password is wrong,but when using FieldType.string can log in
First I have a file named ‘common.dart’ with:
Showing void api result with listview builder
well i have a little problem with the listview builder , i make a request on a api and i am upposed to display the result depending on the length of the result, it works very well but when i have no data from the api, i have this message from flutter : no suchMethosError:”map” Dynamic call with incorrect number of type arguments Expected 2 actual 1 Receiver instance of ‘jsonMap’ Arguments:[instance of dynamic)=> historique]
Showing void api result with listview builder
well i have a little problem with the listview builder , i make a request on a api and i am upposed to display the result depending on the length of the result, it works very well but when i have no data from the api, i have this message from flutter : no suchMethosError:”map” Dynamic call with incorrect number of type arguments Expected 2 actual 1 Receiver instance of ‘jsonMap’ Arguments:[instance of dynamic)=> historique]
Showing void api result with listview builder
well i have a little problem with the listview builder , i make a request on a api and i am upposed to display the result depending on the length of the result, it works very well but when i have no data from the api, i have this message from flutter : no suchMethosError:”map” Dynamic call with incorrect number of type arguments Expected 2 actual 1 Receiver instance of ‘jsonMap’ Arguments:[instance of dynamic)=> historique]
Showing void api result with listview builder
well i have a little problem with the listview builder , i make a request on a api and i am upposed to display the result depending on the length of the result, it works very well but when i have no data from the api, i have this message from flutter : no suchMethosError:”map” Dynamic call with incorrect number of type arguments Expected 2 actual 1 Receiver instance of ‘jsonMap’ Arguments:[instance of dynamic)=> historique]
Showing void api result with listview builder
well i have a little problem with the listview builder , i make a request on a api and i am upposed to display the result depending on the length of the result, it works very well but when i have no data from the api, i have this message from flutter : no suchMethosError:”map” Dynamic call with incorrect number of type arguments Expected 2 actual 1 Receiver instance of ‘jsonMap’ Arguments:[instance of dynamic)=> historique]
Showing void api result with listview builder
well i have a little problem with the listview builder , i make a request on a api and i am upposed to display the result depending on the length of the result, it works very well but when i have no data from the api, i have this message from flutter : no suchMethosError:”map” Dynamic call with incorrect number of type arguments Expected 2 actual 1 Receiver instance of ‘jsonMap’ Arguments:[instance of dynamic)=> historique]