removeAllWhitespace static method

String removeAllWhitespace(
  1. String value
)

Remove all whitespace inside string Example: your name => yourname

Implementation

static String removeAllWhitespace(String value) {
  return value.replaceAll(' ', '');
}