String removeSpaceFromString(String? input) { if (input != null) { return input.replaceAll(' ', ''); } else { return ''; } }