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