displayName property
String
get
displayName
Implementation
String get displayName {
if (type == UnitType.custom && customUnit.isNotEmpty) {
return customUnit;
}
return type.displayName;
}
String get displayName {
if (type == UnitType.custom && customUnit.isNotEmpty) {
return customUnit;
}
return type.displayName;
}