removeAllWhitespace method

String removeAllWhitespace()

Removes all whitespace from the string.

Implementation

String removeAllWhitespace() => replaceAll(RegExp(r'\s+'), '');