removeAllWhiteSpace method

String removeAllWhiteSpace()

Removes white space from given String

Implementation

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