BodyDataUtils class

Constructors

BodyDataUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getFatMass(double weight, double bfr, {int fractionDigits = 1}) String
脂肪量 @param: weight(kg) @param: bfr(体脂率 body fat rate) @result: (kg)
getLeanBodyMass(double weight, double bfr, {int fractionDigits = 1}) String
去脂体重 @param: weight(kg) @param: bfr(体脂率 body fat rate) @result: (kg)
getMuscleMass(double weight, double rom, {int fractionDigits = 1}) String
肌肉量 @param: weight(kg) @param: rom(肌肉率 muscle rate) @result: (kg)
getObesityLevel(double weight, int sex, double height) ObesityLevel
肥胖等级 Obesity level @param: weight(kg) @param: sex(1: male; Others: Female) @param: height(cm) @result: ObesityLevel
getProteinMass(double weight, double pp, {int fractionDigits = 1}) String
蛋白量 @param: weight(kg) @param: pp(蛋白率 protein rate) @result: (kg)
getStandardWeight(int sex, double height, {int fractionDigits = 1}) String
标准体重 @param: sex(1: male; Others: Female) @param: height(cm) @result: (kg)
getStandardWeightDouble(int sex, double height) double
标准体重 @param: sex(1: male; Others: Female) @param: height(cm) @result: (kg)
getWeightControl(double weight, int sex, double height, {int fractionDigits = 1}) String
体重控制量 @param: weight(kg) @param: sex(1: male; Others: Female) @param: height(cm) @result: (positive number: lose weight, negative number: gain weight), kg