getStandardWeight static method
标准体重 @param: sex(1: male; Others: Female) @param: height(cm) @result: (kg)
Implementation
static String getStandardWeight(
int sex,
double height, {
int fractionDigits = 1,
}) {
final standardWeight = getStandardWeightDouble(sex, height);
return standardWeight.toStringAsFixed(fractionDigits);
}