Removes all whitespace from provided string. 从提供的字符串中删除所有空格。
String removeWhiteSpace(String str) { return str.replaceAll(RegExp(r"\s+"), ""); }