muscleMass property
double
get
muscleMass
Implementation
double get muscleMass {
var muscleMass = weight - ((bodyFat * 0.01) * weight) - boneMass;
if (gender == MiScaleGender.FEMALE && muscleMass >= 84.0) {
muscleMass = 120.0;
} else if (gender == MiScaleGender.MALE && muscleMass >= 93.5) {
muscleMass = 120.0;
}
return muscleMass;
}