PriceFormatExtension extension
Extension for easy price formatting on double.
- on
Methods
-
asPrice(
String currencyCode, {String? locale}) → String -
Available on double, provided by the PriceFormatExtension extension
Formats this number as a price. -
asSubscription(
String currencyCode, String period, {String? locale}) → String -
Available on double, provided by the PriceFormatExtension extension
Formats this number as a subscription price.