toCamelCase method

String toCamelCase()

Converts snake_case into camelCase (e.g., "meal_plan" → "mealPlan").

Implementation

String toCamelCase() {
  final pascal = toPascalCase();
  return pascal[0].toLowerCase() + pascal.substring(1);
}