sanitizeNodeName static method
Replaces spaces with underscores and removes unsupported characters from node names, to ensure compatibility with parseTrackName().
Implementation
static String sanitizeNodeName(String input) {
final reg = RegExp(r"\s");
String name = input.replaceAll(reg, '_');
name = name.replaceAll(_reservedRe, '');
return name;
}