KebabCaseConvention class

Kebab-case naming convention (e.g., first-name, last-name). Common in URLs, HTML attributes, and some APIs.

Inheritance

Constructors

KebabCaseConvention()

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Returns a unique identifier for this convention.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromCamelCase(String propertyName) String
Converts a property name from camelCase to this convention.
override
matches(String propertyName) bool
Checks if a property name matches this convention's pattern.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCamelCase(String propertyName) String
Converts a property name from this convention to camelCase.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited