removeAllWhitespace method

String removeAllWhitespace()

Returns the string with all whitespace characters removed.

Implementation

String removeAllWhitespace() {
  return replaceAll(RegExp(r'\s+'), '');
}