Person constructor

const Person({
  1. required double initialWeight,
  2. required double expectedWeight,
  3. required double expectedWeightPerDay,
  4. required double height,
  5. required int age,
  6. required Sex sex,
  7. required ActivityLevel activityLevel,
  8. required Goal goal,
})

Implementation

const Person({
  required this.initialWeight,
  required this.expectedWeight,
  required this.expectedWeightPerDay,
  required this.height,
  required this.age,
  required this.sex,
  required this.activityLevel,
  required this.goal,
});