getClassName function

String getClassName(
  1. String name
)

Implementation

String getClassName(String name) {
  ++_classCounter;

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