df_string library

A package designed to extend Dart strings by offering additional functionality.

Enums

StringCaseType
Enum for different string case types.

Constants

CAMEL_CASE → const String
A key representing camel case.
CAPITALIZED_KEBAB_CASE → const String
A key representing lower kebab case.
LOWER_DOT_CASE → const String
A key representing lower dot case.
LOWER_KEBAB_CASE → const String
A key representing lower kebab case.
LOWER_SNAKE_CASE → const String
A key representing lower snake case.
PASCAL_CASE → const String
A key representing pascal case.
PATH_CASE → const String
A key representing path case.
UPPER_DOT_CASE → const String
A key representing upper dot case.
UPPER_KEBAB_CASE → const String
A key representing upper kebab case.
UPPER_SNAKE_CASE → const String
A key representing upper snake case.

Functions

convertToStringCaseType(String value, StringCaseType? stringCaseType) String
Converts a string to a specific case type.
forceObjToString(Object? obj) String
Converts an object to a string, returning a fallback representation if the object's toString() method throws an exception.