NamingConventions class
Utility class for asset naming conventions and transformations.
Provides consistent naming strategies across all generated code, ensuring proper Dart identifier formatting and convention adherence.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
isValidDartIdentifier(
String identifier) → bool - Validates if a string is a valid Dart identifier.
-
toClassName(
String directoryName) → String - Converts a directory name to a valid Dart class name.
-
toClassPrefix(
String projectName) → String - Converts a project name to a valid Dart class prefix.
-
toConstantName(
String assetName) → String - Converts an asset name to a valid Dart constant name.