Issue
When clicking on the link in E/flutter (17214)#0 I get the (E) highlighted.
catch (e) { print(CustomTrace(StackTrace.current, message: e));
on the second image in E/flutter E/flutter (17214)#1, I get this highlighted (fromJSON)
If you like to help fix the other codes in my program, I will pay you it is been too long I am not progressing
I am not sure if this is allowed here but if it is contact me on my facebook
Solution
What is happening here is that you are not really deserializing all the data you are getting properly, the dart analyzer is telling you that "noSuchMethodError" is not a Type of String.
This essentially means that you are supposed to have a String somewhere but you are using "noSuchMethodError". The dart analyzer wants you to check your fromJson Method and change somethings.
It would help better if you could show your fromJson method.
Answered By - Denzel
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.