toClassName method
Converts the directory name to a valid Dart class name.
Transforms the directory name using PascalCase convention.
Example: 'app-icons' becomes 'AppIcons'
Implementation
String toClassName() {
return directory.pascalCase;
}
Converts the directory name to a valid Dart class name.
Transforms the directory name using PascalCase convention.
Example: 'app-icons' becomes 'AppIcons'
String toClassName() {
return directory.pascalCase;
}