heightDescription property
String
get
heightDescription
Gets the description of the user's height based on the measurement system.
Implementation
String get heightDescription {
({int unit, int subunit}) height = heightInMeasurementSystem;
switch (heightUnit) {
case MeasurementSystem.metric:
return '${height.unit}m ${height.subunit}cm';
default:
return '${height.unit}\' ${height.subunit}"';
}
}