Flutter how to add values and show

var order = jsonDecode(your_json);
var details = order['OrderDetails'];
var total = 0.0;
details.forEach((i) {
  total+=i['Price'];
});

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top