Formats Money-like amount + currency for display, respecting NumeralStyle and each currency's own presentation guidelines (official symbol, ISO 4217 minor units, symbol placement) as registered in BankCurrencies.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
format(
{required Decimal amount, required String currencyCode, NumeralStyle numeralStyle = NumeralStyle.western, bool showSign = false, bool compact = false, bool hideFraction = false}) → String -
formatSign(
{required Decimal amount, required String currencyCode, NumeralStyle numeralStyle = NumeralStyle.western}) → String -
symbolFor(
String currencyCode) → String -
The bare display symbol for
currencyCode, suitable for input prefixes and axis labels.