NamingUtils class
Utility class for naming conventions
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
-
extractTypeReferences(
String type) → Set< String> - Extract type references from a type string (including generics)
-
isContainerType(
String type) → bool - Check if a type is a container type (List, Set, Map)
-
isPrimitiveType(
String type) → bool - Check if a string is a primitive Dart type
-
singularize(
String word) → String - Singularize a word (basic implementation)
-
smartSplit(
String input) → List< String> - Split a string by comma, respecting nested brackets
-
toCamelCase(
String input) → String - Convert to camelCase (variableName)
-
toPascalCase(
String input) → String - Convert to PascalCase (ClassName)
-
toSnakeCase(
String input) → String - Convert to snake_case (file_name)