removeAllWhiteSpace method

String? removeAllWhiteSpace()

Returns a String without white space at all

Implementation

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