RateUnitExtensions extension

Defines extensions on RateUnit.

on

Properties

duration Duration
Gets the Duration corresponding to this RateUnit.
no setter
patternSpecifier String
Gets the pattern specifier for this RateUnit.
no setter

Methods

getName({required String locale}) String
Gets a localized name for this RateUnit.
getSymbol({required String locale}) String
Gets a localized symbol for this RateUnit.