removeAllWhiteSpace property

String get removeAllWhiteSpace

Removes all whitespaces from string

Implementation

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