removeAllWhiteSpace method

String? removeAllWhiteSpace()

Returns a String without white space at all "hello world" // helloworld

Implementation

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