StringExtensions extension
- on
Methods
-
capitalize(
) → String - capitalizes a given string 'hello' => 'Hello' 'Hello' => 'Hello' '' => ''
-
toCase(
KeyCase? keyCase) → String - transforms the string to the specified case if case is null, then no transformation will be applied
-
toEnumConstant(
) → String - transforms the string to a enum constant used for AppLocale enum