removeAllWhitespace function

String removeAllWhitespace(
  1. String value
)

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

Implementation

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