removeAllWhitespace method Null safety

String removeAllWhitespace(
  1. String value
)

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

Implementation

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