ChangeCaseConfig class
The configuration class for change_case
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 Properties
-
defaultSplitPatterns
→ List<
RegExp> -
the default split patterns
final
-
defaultStripPatterns
→ List<
RegExp> -
the default strip patterns
final
- lowerOrNumToUpperPattern → RegExp
-
RegExp('([a-z0-9])(?:•)*([A-Z])')
final - lowerToNumOrUpperPattern → RegExp
-
RegExp('([a-z])([A-Z0-9])')
final - removeNonAlphaPattern → RegExp
-
RegExp('[^A-Z0-9']+', caseSensitive: false)
final - upperToLowerPattern → RegExp
-
RegExp('([A-Z])(?:•)*([A-Z][a-z])')
final
Static Methods
-
getPlaceholder(
) → String - retrieves the placeholder
-
getSplitPatterns(
) → List< Pattern> - retrieves the split patterns
-
getStripPatterns(
) → List< Pattern> - retrieves the strip patterns
-
setUp(
{List< Pattern> ? splitPatterns, List<Pattern> ? stripPatterns, String? placeholder}) → void -
overrides the defaultSplitPatterns with
splitPatterns
Constants
- defaultPlaceholder → const String
- The placeholder used to replace/format any matches in the string.