getUnitName method
Gets the a unit
name in the given locale
.
Implementation
@override
String getUnitName(LengthUnit unit, String locale) =>
unit.getName(locale: locale);
Gets the a unit
name in the given locale
.
@override
String getUnitName(LengthUnit unit, String locale) =>
unit.getName(locale: locale);