calculateKiloAndMeters static method
Calculate the Body Mass Index (BMI) WEIGHT in kg and HEIGHT in meters Formula: BMI = weight / (height * height) Returns the BMI value as a double
Implementation
static double calculateKiloAndMeters({
required double weight,
required double height,
}) {
return weight / (height * height);
}