lifestyleString function
Implementation
String lifestyleString(Lifestyle lifestyle) {
switch (lifestyle) {
case Lifestyle.Sedentary:
return "Sedentary";
case Lifestyle.SlightlyActive:
return "Slightly Active";
case Lifestyle.Active:
return "Active";
case Lifestyle.VeryActive:
return "Very Active";
default:
return "";
}
}