getBodyData method
The extra data that will be used to measure bmi, bone mass, fat percentage,... based on
Implementation
MiScaleBodyData? getBodyData(MiScaleGender gender, int age, double height) {
final impedance = this.impedance;
if (impedance == null) return null;
return MiScaleBodyData(
gender: gender,
age: age,
height: height,
weight: weight,
impedance: impedance,
);
}