Cannot map JSON to List in Dart in Flutter project (NoSuchMethodError: The method 'map' was called on null.)
I am working with a Flutter project where I am trying to learn simple http method to work with api where I can make a call and represent the data in a listview. The problem I am facing has to…