Currency.inUnits constructor

Currency.inUnits(
  1. dynamic value,
  2. CurrencyUnits? units, [
  3. double uncert = 0.0
])

Constructs a Currency based on the value and the conversion factor intrinsic to the passed units.

Implementation

Currency.inUnits(dynamic value, CurrencyUnits? units, [double uncert = 0.0])
    : super(value, units ?? Currency.dollarsUS, uncert);