removeAllWhiteSpace method

String removeAllWhiteSpace()

Removes white space from given String

Implementation

String removeAllWhiteSpace() =>
    this.validate().replaceAll(RegExp(r"\s+\b|\b\s"), "");