toJson method
Implementation
String toJson() {
final data = <String, dynamic>{};
data['weight'] = weight;
data['adc'] = adc;
data['sex'] = sex;
data['age'] = age;
data['height'] = height;
data['algNum'] = algNum;
return '{"weight": $weight, "adc": $adc, "sex": $sex, "age": $age, "height": $height, "algNum": $algNum}';
}