displayName property
String
get
displayName
Returns the display name for the unit system.
Implementation
String get displayName {
switch (this) {
case MeasurementUnit.metric:
return 'Metric';
case MeasurementUnit.imperial:
return 'Imperial';
}
}