Using trim() to eliminate white space in Dart and it doesn\'t work. What am I doing wrong or is there an alternative?
trim()
String product = \"COC
the Trim method just remove the leading and trailing. Use Regexp instide: Here is an example: Dart: Use regexp to remove whitespaces from string