unspacedUpperCase function
input with whitespace alone stripped, then upper-cased, for a charset where a hyphen is invalid
rather than cosmetic.
Implementation
String unspacedUpperCase(String input) => input.replaceAll(whitespace, '').toUpperCase();