removeWhitespace method

String? removeWhitespace()

Implementation

String? removeWhitespace() {
  if (this == null) return this;

  return this!.replaceAll(' ', '');
}