displayName property

String get displayName

Human-readable name of this unit system.

Implementation

String get displayName =>
    this == MeasurementUnit.metric ? 'Metric' : 'Imperial';