BMRCalculator class
A class that implements the BasalMetabolicRate abstract class. It calculates the Basal Metabolic Rate (BMR) of a person. It uses different formulas to calculate the BMR based on the input values.
- Inheritance
-
- Object
- BasalMetabolicRate
- BMRCalculator
Constructors
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
-
calculateBMR(
{required double weight, required double height, required int age, required bool isMale, required double bodyFatPercentage, Ethnicity ethnicity = Ethnicity.white}) → Future< double> -
override
-
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