Converts snake_case string to CamelCase
String snakeToCamelCase(String snake) => snake .split('_') .map((e) => e.substring(0, 1).toUpperCase() + e.substring(1)) .join();