convert list to string flutter code example
Example 1: convert a list to string in flutter
List<String> list =["one", "Two", "Thee"];
print(list.join(",")); // Output will be like this : one,Two,Thee
Example 2: Flutter list of strings to one String
var list = ['one', 'two', 'three'];
var concatenate = StringBuffer();
list.forEach((item){
concatenate.write(item);
});
print(concatenate); // displays 'onetwothree'
}