Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

json decode list flutter

Iterable l = json.decode(response.body);
List<Post> posts = List<Post>.from(l.map((model)=> Post.fromJson(model)));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #json #decode #list #flutter
ADD COMMENT
Topic
Name
5+6 =