utils/functions library
Utility functions for handling YAML, string manipulation, file operations, and system environment.
Functions
-
camelCase(
String value) → String - Converts a string to camelCase.
-
capitalize(
String value) → String - Capitalizes the first letter of a string.
-
getHomeDir(
) → String - Retrieves the user's home directory path.
-
persistDefaultInstallerIcon(
String dirPath) → String - Persists the default installer icon to a file in the given directory.
-
yamlToMap(
YamlMap yamlMap) → Map< String, dynamic> -
Convert yaml to map, this prevents some weird behaviors that come with
YamlMap
type.