UnitPrice class
The UnitPrice
class represents a unit price with an amount and currency, and has a method to
convert it to a map.
Constructors
- UnitPrice.new(int amount, String currency)
Properties
Methods
-
asMap(
) → Map -
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