Issue
I have:
List<double> prices = [20.5, 10.0, 18.6, 41.8];
I need as Parameter Value:
pricesString : ["20.5", "10.0", "18.6", "41.8"],
Solution
pricesString : prices.map((e) => e.toString()).toList(),
Which is passing the following list:
pricesString : ["20.5", "10.0", "18.6", "41.8"]
Answered By – Hardik
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0