lengthUnit property
String
get
lengthUnit
Returns the length unit symbol.
Implementation
String get lengthUnit {
switch (this) {
case MeasurementUnit.metric:
return 'm';
case MeasurementUnit.imperial:
return 'ft';
}
}