Money.separated constructor
Accepts main and fractional part of the amount as two integers
Implementation
factory Money.separated(int integer, int fraction, Currency currency) =>
Money(integer * pow(10, currency.digits).floor() + fraction, currency);