When I print a list in dart, it prints without double quotes like this-
How do I print this list with double quotes around each element?
CodePudding user response:
wordlewords.forEach((word){
print('"$word"');
});
CodePudding user response:
Add \
before "
to skip there function (count it as an normal character).