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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.