String getClassName(String name) { ++_classCounter; /// remove invalid chars. name = _removeInvalidChars(name); name = '${name.trim()}$_classCounter'.pascalCase; return name; }