normalize function

String normalize(
  1. String input
)

Method to normalize the input string to .ENV compatible keys.

For example: isStudent1 will have an output of IS_STUDENT_1

Implementation

String normalize(String input) {
  return camelCaseToSnakeCase(input).toUpperCase();
}