removeWhitespace method
Removes all whitespace from the string.
Implementation
String removeWhitespace() {
return replaceAll(RegExp(r'\s+'), '');
}
Removes all whitespace from the string.
String removeWhitespace() {
return replaceAll(RegExp(r'\s+'), '');
}