removeAllSpaces property
String
removeAllSpaces
Removes all spaces from the string.
Example:
print('Hello World'.removeAllSpaces); // Output: 'HelloWorld'
Implementation
String get removeAllSpaces => replaceAll(' ', '');