removeAllWhiteSpace method

String? removeAllWhiteSpace()

Removes all whitespaces from string

Implementation

String? removeAllWhiteSpace() => replaceAll(RegExp(r'\s+\b|\b\s'), '');