removeAllWhiteSpace method

String removeAllWhiteSpace()

Removes all whitespaces from string

Implementation

String removeAllWhiteSpace() =>
    !isEmptyOrNull ? this!.replaceAll(RegExp(r'\s+\b|\b\s'), '') : '';