helpers library
Functions
-
camelCaseToSnakeCase(
String input) → String - Method to convert camelCases to snake_cases
-
ifFalsy(
String? a, String b) → String -
Method that will returns
a
ifa
is not null or an empty string. Otherwise,b
will be returned. -
normalize(
String input) → String -
Method to normalize the
input
string to .ENV compatible keys. -
validate(
String? input, BoolFn predicate) → bool -
Method to decide whether a String input
returns
true
orfalse
through the predicate function or not.